1.

What is the output of given program if user enter value 99? #include void 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"); } }

A. Enter a number:99
B. Enter a number:99 Number is divisible by 5
C. compiler error
D. Run time error
Answer» B. Enter a number:99 Number is divisible by 5


Discussion

No Comment Found