C Programming Standard ANSI C recognizes ______ number of keywords? 32 24 30 36 40 32 24 30 36 40 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 9 None of these 6 Error 5 9 None of these 6 Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL p q nullp nullq Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL p q nullp nullq ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{7} arr[6] arr{6} arr[7] None of these arr{7} arr[6] arr{6} arr[7] None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } None of these. Error Will make an infinite loop. Some address will be printed. None of these. Error Will make an infinite loop. Some address will be printed. ANSWER DOWNLOAD EXAMIANS APP