Question
a.
Constant expressions are evaluated at compile
b.
String constants can be concatenated at compile time
c.
Size of array should be known at compile time
d.
All of these
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. For 'C' programming language
Similar Questions
Discover Related MCQs
Q. What is the maximun number of dimensions an array in C may have?
View solution
Q. If x is an array of interger, then the value of &x[i] is same as
View solution
Q. If S is an array of 80 characters, then the value assigned to S through the statement scanf("%s",S) with input 12345 would be
View solution
Q. A one dimensional array A has indices 1....75.Each element is a string and takes up three memory words. The array is stored starting at location 1120 decimal. The starting address of A[49] is
View solution
Q. Minimum number of interchange needed to convert the array 89,19,40,14,17,12,10,2,5,7,11,6,9,70, into a heap with the maximum element at the root is
View solution
Q. Which of the following is an illegal array definition?
View solution
Q. Minimun number of comparison required to compute the largest and second largest element in array is
View solution
Q. The information about an array used in a program will be sorted in
View solution
Q. In which of the following cases, linked list implementation of sparse matrices consumes the same memory space as the conventional way of storing the entire array?
View solution
Q. The minmum number of inter changes needed to convert the array 89,19,40,17,12,10,2,5,7,11,6,9,70 into a heap with maximum element at the root is
View solution
Q. The const feature can be applied to
View solution
Q. Choose the correct statement among the following:
View solution
Q. If storage class is missing in the array definition, by default it will be taken to be
View solution
Q. Consider the array definition
int num [10] = {3, 3, 3};
Pick the Correct answers
View solution
Q. Consider the following type definition.
typedef char x[10];
x myArray[5];
What will sizeof(myArray) be ? (Assume one character occupies 1 byte)
View solution
Q. While passing an array as an actual argument, the function call must have the array name
View solution
Q. The following program
main( )
{
static int a[ ] = { 7, 8, 9 } ;
printf( "%d", 2[ a ] + a[ 2 ] ) ;
}
View solution
Q. The parameter passing mechanism for an array is
View solution
Q. Consider the statement
int val[2] [4] = { 1, 2, 3, 4, 5, 6, 7, 8} ;
4 will be the value of
View solution
Q. The maximum number of dimension an array can have in C is
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!