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);} 25 None of these 20 24 30 25 None of these 20 24 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } 3 hello None of these Compiler Error Linking error 3 hello None of these Compiler Error Linking error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 1289 713 0289 0713 Syntax error 1289 713 0289 0713 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 6 10 5 9 11 6 10 5 9 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means The same as int *p[ p is one dimensional array of size 5, of pointers to integers. None of these. p is a pointer to a 5 elements integer array. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. None of these. p is a pointer to a 5 elements integer array. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 0 6 5 Compiler Error 7 0 6 5 Compiler Error 7 ANSWER DOWNLOAD EXAMIANS APP