C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=1 None of These Compiler Error sizeof(i)=2 sizeof(i)=1 None of These Compiler Error sizeof(i)=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; Both of the above We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. Both of the above We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These 50 10 Compiler Error None of These 50 10 Compiler Error 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=AMVEDA y=MVEDA y=EDA y=EXAMIANS y=VEDA y=AMVEDA y=MVEDA y=EDA y=EXAMIANS y=VEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) There should be a semicolon at the end of the statement. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The commas should be semicolons. The increment should always be ++k . There should be a semicolon at the end of the statement. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The commas should be semicolons. The increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP
C Programming Standard ANSI C recognizes ______ number of keywords? 24 30 36 32 40 24 30 36 32 40 ANSWER DOWNLOAD EXAMIANS APP