C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} 10012 Runtime error 100 Syntax error g##g2 10012 Runtime error 100 Syntax error g##g2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? break continue resume skip None of these break continue resume skip None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values Error 0 0 0 1 1 1 garbage values Error 0 0 0 1 1 1 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? int float Depends upon the type of the variable to which it is pointing. No data type unsigned int int float Depends upon the type of the variable to which it is pointing. No data type unsigned int ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; 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 increment should always be ++k . The variable k can’t be initialized. The commas should be semicolons. There should be a semicolon at the end of the statement. The variable must always be the letter i when using a for loop. The increment should always be ++k . The variable k can’t be initialized. The commas should be semicolons. There should be a semicolon at the end of the statement. The variable must always be the letter i when using a for loop. ANSWER DOWNLOAD EXAMIANS APP