#include #include void main() { int y = 100; const int x = y; printf(“%d”, x); getch(); }  What is output of the program?

#include

#include

void main()

{

int y = 100;

const int x = y;

printf(“%d”, x);

getch();

}

 What is output of the program?

A. 100

B. Garbage value

C.  Error

D. 0

Hướng dẫn

Chọn A là đáp án đúng

Xem lời giải

Xem lời giải

hằng số x được khởi tạo bằng 100.

 

Thư viện tài liệu12 Tháng bảy, 2023 @ 2:55 chiều

Đánh giá chủ đề này