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 complier error Run time error Enter a number:99 Enter a number:99 Number is divisible by 5 complier error Run time error Enter a number:99 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command need not start on the first column comes before the first executable statement need not start on a new line has # as the first character need not start on the first column comes before the first executable statement need not start on a new line has # as the first character ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 100 Error 1 100 Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} Hello None of these Hello World World WorldHello Hello None of these Hello World World WorldHello ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 1 2 3 4 Runtime error Syntax error 4 4 5 6 7 1 2 3 4 Runtime error Syntax error 4 4 5 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of macros Takes care of include files Takes care of conditional compilation Acts before compilation All of these Takes care of macros Takes care of include files Takes care of conditional compilation Acts before compilation All of these ANSWER DOWNLOAD EXAMIANS APP