GMT: Thứ Hai, ngày 19  tháng 2, năm 2018 . .   
Đăng nhập tạm thời:  

Căn Bản    Văn Phòng    Hệ Thống - Mạng    Phần Mềm Ứng Dụng    Kỹ thuật số    Lập trình    SQL   
 C#     C++     Visual Basic     Visual Foxpro     C     Java     Pascal     Thiết Kế Web     ASP.NET     XML     CSS     PHP   

Trắc nghiệm Ngôn Ngữ Lập Trình C++ - Bài 51
What will be the output of the following program? #include class IndiaBix { static int count; public: static void First(void) { count = 10; } static void Second(int x) { count = count + x; } static void Display(void) { cout<< count << endl; } }; int IndiaBix::count = 0; int main() { IndiaBix :: First(); IndiaBix :: Second(5); IndiaBix :: Display(); return 0; } A. 0 B. 5 C. 10 D. 15........
Thời gian bắt đầu: Hôm nay lúc 08:11:29(Server time)
Số câu hỏi: 10.   Tổng điểm: 10
Thời gian làm bài: 20 phút.  Thời gian còn lại: 
Cỡ chữ câu hỏi:  Cỡ chữ đáp án:
1-
What will be the output of the following program?
A-
5 C
B-
10
C-
15
D-
The program will report compile time error.
2-
What will be the output of the following program?
A-
The program will print the output 4.
B-
The program will print the ASCII value of 4.
C-
The program will print the output 0.
D-
The program will print the output garbage.
3-
Which of the following statement is correct about the program given below?
A-
The program will print the output 1 2.
B-
The program will print the output 0 1.
C-
The program will print the output 1 1.
D-
The program will print the output 1.
4-
Which of the following statement is correct about the program given below?
A-
The program will print the output 100.
B-
The program will print the output 200.
C-
The program will print the output Garbage-value.
D-
The program will report compile time error.
5-
Which of the following statement is correct about the program given below?
A-
The program will print the output 100.
B-
The program will print the output 200.
C-
The program will print the output Garbage-value.
D-
The program will report compile time error.
6-
What will be the output of the following program?
A-
Class A.
B-
Class B.
C-
Class C.
D-
The program will report compile time error.
7-
Which of the following statement is correct about the program given below?
A-
The program will print the output 100.
B-
The program will print the output 200.
C-
The program will print the output 400.
D-
The program will print the output Garbage-value.
8-
What will be the output of the following program?
A-
1 2
B-
10 20
C-
11 22
D-
Garbage Garbage
9-
What will be the output of the following program?
A-
1
B-
3
C-
24
D-
25
10-
Which of the following statement is correct about the program given below?
A-
The program will print the output 5.
B-
The program will report compile time error.
C-
The program will print the output 25.
D-
The program will print the output Garbage-value.
[ Thành Lãm - ST ]

Chia sẻ trên Facebook   Google Boomarks   Google Buzz    Xem: 1167. Đăng: 29-06-2012.   
Support Link:
Thông tin trang Web. Online since: 2011.
Disclaimer of Liability and Endorsement:
free counters
VNEDU.ORG IS A NON-PROFIT WEBSITE! All contents throughout this website are from Internet and other sources and are posted by users, copyright belongs to its original author. VNEDU.ORG stores for educational purpose only. VNEDU.ORG resumes no responsibility and liability, make no promise, or guarantee for the accuracy or efficiency of any content. If you find any content that is in violation of copyright laws, please notify us and we will immediately remove them. Thank you for visiting VNEDU.ORG