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 Number is divisible by 5 Run time error complier error Enter a number:99 Enter a number:99 Number is divisible by 5 Run time error complier error Enter a number:99 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Comma operator Unary-operator Assignment operator Division operator Conditional operator Comma operator Unary-operator Assignment operator Division operator Conditional operator ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 30 50 10 None of these 15 30 50 10 None of these 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a definition must occur first. There is no difference between them. Both can occur multiple times, but a declaration must occur first. A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a definition must occur first. There is no difference between them. Both can occur multiple times, but a declaration must occur first. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} Error 65 A c Error 65 A c ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} 10 None of these. 0.000000 Error 10 None of these. 0.000000 Error ANSWER DOWNLOAD EXAMIANS APP