C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 1 no error no output 0 complier error 1 no error no output 0 complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 10 None of these 12 11 15 10 None of these 12 11 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE C Syntax error No output at all. NOITANIMAXE C NOITANIMAXE C Syntax error No output at all. NOITANIMAXE C 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);} 3 Error 6 Garbage value 3 Error 6 Garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? unsigned int No data type Depends upon the type of the variable to which it is pointing. int float unsigned int No data type Depends upon the type of the variable to which it is pointing. int float ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} complier error 1 -1 1 1 -1 -1 -1 1 complier error 1 -1 1 1 -1 -1 -1 1 ANSWER DOWNLOAD EXAMIANS APP