C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} no error no output 0 1 complier error no error no output 0 1 complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 12 10 11 13 22 11 11 11 22 12 12 13 22 13 14 14 22 14 12 13 12 10 11 13 22 11 11 11 22 12 12 13 22 13 14 14 22 14 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It is a unary operator All of these It associates from the right The operand can come before or after the operator It cannot be applied to an expression It is a unary operator All of these It associates from the right The operand can come before or after the operator It cannot be applied to an expression 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 commas should be semicolons. 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 variable k can’t be initialized. The commas should be semicolons. 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 variable k can’t be initialized. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 10 0 Syntax error 0123456789 Infinite loop 10 0 Syntax error 0123456789 Infinite loop 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