C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 1 1 2 2 2 1 1 2 1 1 2 2 2 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 16 20 17 19 -1 16 20 17 19 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} M P None of These N M P None of These N ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 20 Compiler Error Linker Error 2 20 Compiler Error Linker Error 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... no such function in 'C'. stderr Data file string stdin no such function in 'C'. stderr Data file string stdin ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 1 Error 2 -2 1 Error 2 ANSWER DOWNLOAD EXAMIANS APP