C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} Run time error 20 20 10 10 10 20 Run time error 20 20 10 10 10 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 6 Error 3 Garbage value 6 Error 3 Garbage value 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);} 30 None of these 24 20 25 30 None of these 24 20 25 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmm nnn aaa None of These Compiler Error mmmm nnnn aaaa mmm nnn aaa None of These Compiler Error mmmm nnnn aaaa ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. II and IV I and II II and III I and III III and IV II and IV I and II II and III I and III III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is syntactically and semantically correct is legal but meaningless is illegal None of these. is syntactically and semantically correct is legal but meaningless is illegal None of these. ANSWER DOWNLOAD EXAMIANS APP