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 hj grjeodt ij!gsjfoet None of These hi friends hj grjeodt ij!gsjfoet ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 10 11 11 10 20 21 10 10 20 21 20 10 20 21 21 10 10 11 11 10 20 21 10 10 20 21 20 10 20 21 21 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 1 Garbage Value 10 None of These 1 Garbage Value 10 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 Garbage Value Error 10 20 30 40 50 10 20 30 40 50 None of These 10 20 30 40 50 Garbage Value Error 10 20 30 40 50 10 20 30 40 50 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 3 4 10 5 4 4 10 5 3 3 10 5 5 5 10 5 4 3 10 5 3 4 10 5 4 4 10 5 3 3 10 5 5 5 10 5 4 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of macros Acts before compilation All of these Takes care of conditional compilation Takes care of include files Takes care of macros Acts before compilation All of these Takes care of conditional compilation Takes care of include files ANSWER DOWNLOAD EXAMIANS APP