C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 Linker Error Compiler Error 20 2 Linker Error Compiler Error 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE C NOITANIMAXE C No output at all. Syntax error NOITANIMAXE C NOITANIMAXE C No output at all. Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is an pointer to array ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} Garbage Value 444 333 000 433 Garbage Value 444 333 000 433 ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Number of element of the array. Values of the first elements of the array. Address of the first element of the array. Address of the array. Number of element of the array. Values of the first elements of the array. Address of the first element of the array. Address of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 0 1 -1 Compilation Error 33 0 1 -1 Compilation Error 33 ANSWER DOWNLOAD EXAMIANS APP