C Programming A preprocessor command comes before the first executable statement need not start on the first column need not start on a new line has # as the first character comes before the first executable statement need not start on the first column need not start on a new line has # as the first character ANSWER DOWNLOAD EXAMIANS APP
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=5 d=3 c=3 d=3 c=3 d=5 c=5 d=5 c=5 d=3 c=3 d=3 c=3 d=5 c=5 d=5 ANSWER DOWNLOAD EXAMIANS APP
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 10 10 20 20 10 20 Run time error 10 10 20 20 10 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Code will not compile Garbage vlaue Garbage Value Garbage value 0 0 Garbage Value 0 0 Code will not compile Garbage vlaue Garbage Value Garbage value 0 0 Garbage Value 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 3 3 3 3 4 2 4 2 2 2 3 3 3 3 4 2 4 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Enhances the logical clarity of the program. All of these Makes the debugging task easier. Helps to avoid repeating a set of statements many times. Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. All of these Makes the debugging task easier. Helps to avoid repeating a set of statements many times. Helps to avoid repeated programming across programs. ANSWER DOWNLOAD EXAMIANS APP