#include <stdio.h> #include <conio.h> void main() { printf("%p", main()); getch(); }[/CODE] Which of the following statements are correct

Đăng Khánh

New member
#include <stdio.h>
#include <conio.h>
void main()
{
printf("%p", main());
getch();
}[/CODE]
Which of the following statements are correct about the program?
A. It prints garbage values infinitely
B. Runs infinitely without printing anything
C. Error: main( ) cannot be called inside printf( )
D. No Error and print nothing
Chọn B là đáp án đúng
 

Tìm kiếm

Back
Top