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);} 5 0 20 5 0 100 100 5 100 100 100 100 100 0 100 5 0 20 5 0 100 100 5 100 100 100 100 100 0 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} C No output at all. Syntax error NOITANIMAXE NOITANIMAXE C C No output at all. Syntax error NOITANIMAXE NOITANIMAXE C ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} None of These Some Address will be printed Hello H None of These Some Address will be printed Hello H ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 None of these 215 – 1 216 216 – 1 215 None of these 215 – 1 216 216 – 1 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 Enter a number:99 Number is divisible by 5 complier error Enter a number:99 Run time error Enter a number:99 Number is divisible by 5 complier error Enter a number:99 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 0 Compiler Error 7 5 6 0 Compiler Error 7 5 6 ANSWER DOWNLOAD EXAMIANS APP