C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 0 1 no error no output complier error 0 1 no error no output complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 12 6 It will not compile because not enough initializers are given 24 7 12 6 It will not compile because not enough initializers are given 24 7 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 int (*p) (char *)[] int(*p(char *))[] int *p(char *)[] None of these. int (*p) (char *)[] int(*p(char *))[] int *p(char *)[] None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff3 fff1 fff4 fff2 fff0 fff3 fff1 fff4 fff2 fff0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 1 2 3 4 5 6 7 8 9 None of these 4 5 6 7 8 9 4 5 6 7 8 9 10 1 2 3 10 1 2 3 4 5 6 7 8 9 None of these 4 5 6 7 8 9 4 5 6 7 8 9 10 1 2 3 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming "My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above. printf("My salary was increased by 15%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15/%!"); ANSWER DOWNLOAD EXAMIANS APP