C Programming C preprocessor Takes care of macros Acts before compilation All of these Takes care of include files Takes care of conditional compilation Takes care of macros Acts before compilation All of these Takes care of include files Takes care of conditional compilation ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=EDA y=VEDA y=EXAMIANS y=MVEDA y=AMVEDA y=EDA y=VEDA y=EXAMIANS y=MVEDA y=AMVEDA 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++; }} None of These 10 20 30 40 50 10 20 30 40 50 Error 10 20 30 40 50 Garbage Value None of These 10 20 30 40 50 10 20 30 40 50 Error 10 20 30 40 50 Garbage Value 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
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} GOOD GOOD BAD Compiler Error None of These GOOD GOOD BAD Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 7 6 5 None of These 7 6 5 None of These ANSWER DOWNLOAD EXAMIANS APP