T
Q. What will be the output of the following C program?
#include <stdio.h> int main() { int x[5] = { 10, 20, 30 }; printf("%d", x[3]); return 0; }
In C language, when an array is partially initialized at the time of declaration then the remaining elements of the array is initialized to 0 by default.
You must be Logged in to update hint/solution
Q. What characters are allowed in a C function name identifier.?
Q. Which is the correct format specifier for double type value in C?
Q. What is the output of C Program with arrays.?
Q. The maximum length of a variable in C is ___
Q. A recursive function in C ___
Q. In C, what is the meaning of following function prototype with empty parameter list
Q. size of union is size of the longest element in the union
Q. C99 standard guarantees uniqueness of ___________ characters for external names.
Discusssion
Login to discuss.