C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 1 None of these 1 1 0 0 1 0 0 1 None of these 1 1 0 0 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 8 b = 4, c = 6 a = 3, c = 8 a = 4, c = 6 b = 3, c = 6 a = 4, c = 8 b = 4, c = 6 a = 3, c = 8 a = 4, c = 6 b = 3, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} None of These hi friends ij!gsjfoet hj grjeodt None of These hi friends ij!gsjfoet hj grjeodt 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");} p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } Depends on the Compiler 2 4 Linker Error : Undefined symbol 'i' Depends on the Compiler 2 4 Linker Error : Undefined symbol 'i' ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is None of these strnstr() strstr() laststr() strrchr() None of these strnstr() strstr() laststr() strrchr() ANSWER DOWNLOAD EXAMIANS APP