C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} Error 6 5 4 Error 6 5 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 20 10 20 21 10 10 20 21 21 10 10 11 11 10 20 21 20 10 20 21 10 10 20 21 21 10 10 11 11 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. The commas should be semicolons. The variable k can’t be initialized. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable must always be the letter i when using a for loop. The commas should be semicolons. The variable k can’t be initialized. There should be a semicolon at the end of the statement. The increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} Syntax error 053 65 065 65 53 65 65 65 Syntax error 053 65 065 65 53 65 65 65 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop 5 4 3 2 1 None of These 5 5 5 5 5 Infinite Loop 5 4 3 2 1 None of These 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 2, 4 1 None of these 1, 4 2, 3 2, 4 1 None of these 1, 4 2, 3 ANSWER DOWNLOAD EXAMIANS APP