C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 1 None of these 0 10 6 1 None of these 0 10 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop 5 4 3 2 1 None of these 5 5 5 5 5 Compilation Error Infinite Loop 5 4 3 2 1 None of these 5 5 5 5 5 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? main() getch() start() system() printf() main() getch() start() system() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 20 Theoratically no limit. The only practical limits are memory size and compilers. 2 50 8 20 Theoratically no limit. The only practical limits are memory size and compilers. 2 50 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } ck et te ow ck et te ow ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Compiler Error XAM is printed exam is printed Nothing is printed Compiler Error XAM is printed exam is printed Nothing is printed ANSWER DOWNLOAD EXAMIANS APP