What will be the output of the program ?
#include
int main()
{
int arr[1]={10};
printf("%d\n", 0[arr]);
return 0;
}
Answer: B
No answer description available for this question.
Enter details here
What is meaning of following declaration ?
int arr[20];
Answer: A
No answer description available for this question.
Enter details here
What is the value of a[4]?
int a[5]={1,2,4,1,0}
Answer: C
No answer description available for this question.
Enter details here
Choose the correct statements
Answer: B
No answer description available for this question.
Enter details here
A file is preferable to an array of structures because
Answer: D
No answer description available for this question.
Enter details here
The information about an array used in program will be stored in
Answer: C
In computer programming, a dope vector is a data structure used to hold information about a data object, e.g. an array, especially its memory layout.
Enter details here
Syntax of accessing the seventh element
Answer: D
No answer description available for this question.
Enter details here
If x is an array of interger, then the value of &x[i] is same as
Answer: A
No answer description available for this question.
Enter details here
A one dimensional array A has indices 1....75. Each element is a string and takes up three memory words. The array is stored at location 1120 decimal. The starting address of A[49] is
Answer: A
Start address of the element = base address of array + number of elements * size of each element = 1120 + 48 * 3 = 1264
Enter details here
In C, if you pass an array as an argument to a function, what actually gets passed?
Answer: C
No answer description available for this question.
Enter details here