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. The if statement is a conditional statement?
Q. What will be the output of the following code snippet?
Q. Which of the following is the correct usage of conditional operators used in C?
Q. Functions in C can accept multiple parameters. True or False?
Q. What will be the output of the following C code?
Q. What is the output of C program with structure array pointers?
Q. What is the output of C program?
Q. A bit field is a set of adjacent bits whose size can be from _________ bits in length
Discusssion
Login to discuss.