C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? Runtime error 6 No output 8 Syntax error Runtime error 6 No output 8 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 0 4, 4 0, 2 2, 2 2, 4 2, 0 4, 4 0, 2 2, 2 2, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 1 Garbage Value 10 None of These 1 Garbage Value 10 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=3 d=3 c=3 d=5 c=5 d=3 c=5 d=5 c=3 d=3 c=3 d=5 c=5 d=3 c=5 d=5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54554 45445 45545 54544 54554 45445 45545 54544 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 2, 3 1, 4 2, 4 1 None of these 2, 3 1, 4 2, 4 1 None of these ANSWER DOWNLOAD EXAMIANS APP