C Programming Which of the following operator takes only integer operands? + % / * None of these + % / * None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff2 fff3 fff1 fff4 fff0 fff2 fff3 fff1 fff4 fff0 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);} 13 12 14 11 Compilation error 13 12 14 11 Compilation error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? There is no difference between them. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. A definition occurs once, but a declaration may occur many times. There is no difference between them. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. A definition occurs once, but a declaration may occur many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 0 100 100 5 100 5 0 100 5 0 20 100 100 100 100 0 100 100 5 100 5 0 100 5 0 20 100 100 100 ANSWER DOWNLOAD EXAMIANS APP
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"); }} Run time error complier error Enter a number:99 Number is divisible by 5 Enter a number:99 Run time error complier error Enter a number:99 Number is divisible by 5 Enter a number:99 ANSWER DOWNLOAD EXAMIANS APP