C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} 100 g##g2 Syntax error Runtime error 10012 100 g##g2 Syntax error Runtime error 10012 ANSWER DOWNLOAD EXAMIANS APP
C Programming "My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above. printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15%!"); ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 6 Runtime error No output 8 Syntax error 6 Runtime error No output 8 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The program will not enter into the loop. Prints the value of 0 one time only. A run time error will be generated. The loop will run infinitely many times. There will be a compilation error reported. The program will not enter into the loop. Prints the value of 0 one time only. A run time error will be generated. The loop will run infinitely many times. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns -1 0 true None of these 1 -1 0 true None of these 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is illegal is legal but meaningless None of these. is syntactically and semantically correct is illegal is legal but meaningless None of these. is syntactically and semantically correct ANSWER DOWNLOAD EXAMIANS APP