C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These 50 Compiler Error 10 None of These 50 Compiler Error 10 ANSWER DOWNLOAD EXAMIANS APP
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? 6 No output Runtime error Syntax error 8 6 No output Runtime error Syntax error 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop None of These 5 5 5 5 5 5 4 3 2 1 Infinite Loop None of These 5 5 5 5 5 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 2 1 3 0 2 1 3 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 6 It will not compile because not enough initializers are given 7 12 24 6 It will not compile because not enough initializers are given 7 12 24 ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 3 4 3 3 2 4 2 3 2 2 3 4 3 3 2 4 2 3 2 2 ANSWER DOWNLOAD EXAMIANS APP