Programming MCQS - QUESTION DETAILS

How do you declare a two-dimensional array in C?
A. int arr[][];
B. int arr[];
C. int arr[][] = new int[];
D. int arr[][3];

'int arr[][3];' declares a two-dimensional array in C.

Similar Questions

What is the output of printf("%d", 5 + 3 * 2);?






What is the output of printf("%d", sizeof(1.5));?






How do you use the 'const' keyword with a pointer in C?






How do you declare a constant integer in C?






What is the purpose of the 'typedef' keyword in C?






What does the 'exit()' function do in C?






What is the format specifier for printing a float in C?






Which header file is needed for file input and output operations in C?






Which function is used to read a character from the standard input in C?






What is the purpose of the 'sizeof' operator in C?