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);} 24 25 20 None of these 30 24 25 20 None of these 30 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);} a = 4, c = 8 b = 4, c = 6 a = 3, c = 8 b = 3, c = 6 a = 4, c = 6 a = 4, c = 8 b = 4, c = 6 a = 3, c = 8 b = 3, c = 6 a = 4, c = 6 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? No output Syntax error Runtime error 8 6 No output Syntax error Runtime error 8 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 6 10 None of these 0 1 6 10 None of these 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 None of these 1 2 3 10 4 5 6 7 8 9 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 None of these 1 2 3 10 4 5 6 7 8 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} None of These 16 4 64 None of These 16 4 64 ANSWER DOWNLOAD EXAMIANS APP