The maximum number of dimension an array can have in C is
Answer: A
No answer description available for this question.
Enter details here
While passing an array as an actual argument, the function call must have the array name
Answer: C
No answer description available for this question.
Enter details here
Predict the output of below code:
#include
int main()
{
int ary[2][3][4], j = 20;
ary[0][0] = &j;
printf("%d\n", *ary[0][0]);
}
Answer: C
No answer description available for this question.
Enter details here
What is the maximun number of dimensions an array in C may have?
Answer: D
No answer description available for this question.
Enter details here
If a two dimensional array is used as a formal parameter, then
Answer: B
No answer description available for this question.
Enter details here
Predict the output of below code:
#include "stdio.h"
#include "stdlib.h"
int main(int argc, char *argv[]) {
char temp[20];
gcvt(23.45,2, temp);
printf("%s", temp);
return 0;
}
Answer: D
No answer description available for this question.
Enter details here
While sorting a set of names, representing the names as an array of pointers is preferable to representing the names as a two dimensional array of characters because
Answer: D
No answer description available for this question.
Enter details here
Which of the following concepts make extensive use of arrays?
Answer: D
Whenever a particular memory location is referred, it is likely that the locations nearby are also referred, arrays are stored as contigous blocks in memory, so if you want to access array elements, spatial locality makes it to access quickly.
Enter details here
Is there any difference int the following declarations?
int fun(int arr[]);
int fun(int arr[2]);
Answer: B
No answer description available for this question.
Enter details here
The maximum number of dimension an array can have in C is
Answer: D
No answer description available for this question.
Enter details here