C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 6 4 5 Error 6 4 5 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Compilation Error 5 4 3 2 1 None of these Infinite Loop 5 5 5 5 5 Compilation Error 5 4 3 2 1 None of these Infinite Loop 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? float Depends upon the type of the variable to which it is pointing. unsigned int int No data type float Depends upon the type of the variable to which it is pointing. unsigned int int No data type ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 4 3 2 1 5 5 5 5 5 Infinite Loop None of These 5 4 3 2 1 5 5 5 5 5 Infinite Loop None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} Equal None of these. Error Unequal Equal None of these. Error Unequal ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. II, III and IV I, II, III and IV I, II and III II and III I and II II, III and IV I, II, III and IV I, II and III II and III I and II ANSWER DOWNLOAD EXAMIANS APP