C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=3 d=3 c=3 d=5 c=5 d=3 c=5 d=5 c=3 d=3 c=3 d=5 c=5 d=3 c=5 d=5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 1 1 0 1 None of these 1 0 0 0 1 1 0 1 None of these 1 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int value=0; if(value) printf("well done "); printf("examveda");} complier error well done examians examians None of these complier error well done examians examians None of these 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. I and II I and III II and III II and IV III and IV I and II I and III II and III II and IV III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 10 11, 10 10, 11 11, 11 10, 10 11, 10 10, 11 11, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of macros Acts before compilation All of these Takes care of conditional compilation Takes care of include files Takes care of macros Acts before compilation All of these Takes care of conditional compilation Takes care of include files ANSWER DOWNLOAD EXAMIANS APP