C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 4 Error 5 6 4 Error 5 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... No scope at all File scope Block scope Local scope Function scope No scope at all File scope Block scope Local scope Function scope ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE Syntax error NOITANIMAXE C No output at all. C NOITANIMAXE Syntax error NOITANIMAXE C No output at all. C ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Compiler Error XAM is printed exam is printed Nothing is printed Compiler Error XAM is printed exam is printed Nothing is printed 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++) The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The increment should always be ++k . The commas should be semicolons. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The increment should always be ++k . The commas should be semicolons. The variable k can’t be initialized. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Veda Exam\0Veda Exam Veda Exam None of these Veda Exam\0Veda Exam Veda Exam None of these ANSWER DOWNLOAD EXAMIANS APP