Declare the following statement? "An array of three pointers to chars"
Correct Answer: char *ptr[3];
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C Programming Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C Programming MCQ Questions
What type of array is generally generated in Command-line argument?
For binary files, a ___ must be appended to the mode string.
Output of the following program? main( ) { int foo = ('k' - 'j')/4; printf('foo = %d',foo); return 0; }
Smallest element of an array is called as __.
A file written in text mode can be read back in binary mode.
An array is defined with the following statement in a file, file1.c int a[ ] = { 1, 2, 3, 4, 5, 6 }; In another file, file2.c, the following code snippet is written to use the array a: extern int a[]; int size = sizeof(a); What is wrong with the above code snippet?
Which is the correct way of initializing a twodimensional array?
Which standard functions is used to close a file?
Study the following code: int n = 2; int a[n]; What is the error in the above code?
Following code is executed? { int num; num =0; do {-- num; printf('%d\n', num); num++; } while (num >=0); }