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);} None of these 24 30 25 20 None of these 24 30 25 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as None of these. int (*p) (char *)[] int(*p(char *))[] int *p(char *)[] None of these. int (*p) (char *)[] int(*p(char *))[] int *p(char *)[] ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 4 10 5 3 3 10 5 5 5 10 5 4 3 10 5 3 4 10 5 4 4 10 5 3 3 10 5 5 5 10 5 4 3 10 5 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of These 5 4 3 2 1 Infinite Loop 5 5 5 5 5 None of These 5 4 3 2 1 Infinite Loop 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Compiler time error 10 Undefined behavior Segmentation fault/runtime crash Compiler time error 10 Undefined behavior Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... ASCII value of the input read. The actual values read for each argument. 0 The number of successful read input values. 1 ASCII value of the input read. The actual values read for each argument. 0 The number of successful read input values. 1 ANSWER DOWNLOAD EXAMIANS APP