C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 5 4 Error 6 5 4 Error 6 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=MVEDA y=EXAMIANS y=EDA y=AMVEDA y=VEDA y=MVEDA y=EXAMIANS y=EDA y=AMVEDA y=VEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? case main register auto default case main register auto default ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 Compiler Error None of These 50 10 Compiler Error None of These 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions All of these Helps to avoid repeated programming across programs. Makes the debugging task easier. Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. All of these Helps to avoid repeated programming across programs. Makes the debugging task easier. Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} complier error Run time error Enter a number:99 Number is divisible by 5 Enter a number:99 complier error Run time error Enter a number:99 Number is divisible by 5 Enter a number:99 ANSWER DOWNLOAD EXAMIANS APP