C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 0289 Syntax error 713 1289 0713 0289 Syntax error 713 1289 0713 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 20 None of these 25 30 24 20 None of these 25 30 24 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 0 Error 10..50 10..10 0 Error 10..50 10..10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 50 None of These Compiler Error 10 50 None of These Compiler Error 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? It will not compile because not enough initializers are given 7 12 6 24 It will not compile because not enough initializers are given 7 12 6 24 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} b = 3, c = 6 a = 3, c = 8 b = 4, c = 6 a = 4, c = 8 a = 4, c = 6 b = 3, c = 6 a = 3, c = 8 b = 4, c = 6 a = 4, c = 8 a = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP