Question
a.
with empty brackets
b.
with its size
c.
alone
d.
none of the above
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. While passing an array as an actual argument, the function call must have the array name
Similar Questions
Discover Related MCQs
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
Q. Under which of the following conditions, the size of an one-dimensional array need not be specified?
View solution
Q. If a two dimensional array is used as a formal parameter, then
View solution
Q. The following program
main()
{
static char a[3][4] = {"abcd", "mnop", "fghi"};
putchar(**a);
}
View solution
Q. C does no automatic array bound checking. This is
View solution
Q. If n has the value 3, then the statement
a [++n] = n++ ;
View solution
Q. Choose the statement that best defines an array
View solution
Q. Choose the correct statement:
View solution
Q. A set of names can be represented as a
View solution
Q. If arr is a two dimensional array of 10 rows and 12 columns, then arr (5) logically points to the
View solution
Q. 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
View solution
Q. Choose the correct statement :
View solution
Q. Pick the correct answers
if x is an one dimensional array, then
View solution
Q. Choose the correct statement :
View solution
Q. A file is preferable to an array of structures because
View solution
Q. Consider the declaration
char street[10] = "abcdefghi";
Choose the correct remark(s)
View solution
Q. Prior to using a pointer variable it should be
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!