C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} Enter a number:99 complier error Enter a number:99 Number is divisible by 5 Run time error Enter a number:99 complier error Enter a number:99 Number is divisible by 5 Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming In C programming language, which of the following type of operators have the highest precedence Relational operators Logical operators Equality operators Arithmetic operators Relational operators Logical operators Equality operators Arithmetic operators ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 4 5 Error 6 4 5 Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff3 fff1 fff0 fff4 fff2 fff3 fff1 fff0 fff4 fff2 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 . There should be a semicolon at the end of the statement. 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. The increment should always be ++k . There should be a semicolon at the end of the statement. 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. ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 12 14 13 11 Compilation error 12 14 13 11 Compilation error ANSWER DOWNLOAD EXAMIANS APP