Java MCQ
Java MCQ
a. -3.4e38 to 3.4e38
b. -32767 to 32768
c. -32668 to 32667
d. -32768 to 32767
1. main()
2. {printf("javatpoint");
3. main();}
a. Wrong statement
b. It will keep on printing javatpoint
c. It will Print javatpoint once
d. None of the these
Explanation: In this program, the main function will call itself again and again.
Therefore, it will continue to print javatpoint.
Explanation: Any C program has at least one function, and even the most trivial
programs can specify additional functions. A function is a piece of code. In other words,
it works like a sub-program.