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
Be the first to start discuss.
Q. What will be the output of the following code snippet?
Q. In C language a << 1 is equivalent to
Q. What is the output of C Program with pointers.?
Q. What is the output of C Program?
Q. What is the output of C program with structures?
Q. Which symbol is used as a statement terminator in C?
Q. C is _______ type of programming language?
Discusssion
Login to discuss.