JavaScript is required

Which of the following statements are correct about the program?
Media VietJack

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
Trả lời:

Đáp án đúng: B


Chương trình trên bị lỗi biên dịch. Hàm `main()` không thể được gọi bên trong hàm `printf()`. Do đó, chương trình sẽ báo lỗi và không thực thi được. Đáp án C là đáp án chính xác nhất.

Câu hỏi liên quan