C/C++ Quiz

C/C++ Quiz

University

25 Qs

quiz-placeholder

Similar activities

C++ Assesment 1

C++ Assesment 1

University

20 Qs

Oytie C Quiz

Oytie C Quiz

University

20 Qs

Quiz

Quiz

University

20 Qs

QUIZ ALGO

QUIZ ALGO

University

20 Qs

С hashtag base

С hashtag base

University

20 Qs

Diabetes & Renal Disease

Diabetes & Renal Disease

University

20 Qs

1-20_Easy_Tin ung dung

1-20_Easy_Tin ung dung

University

20 Qs

C Loops

C Loops

University

25 Qs

C/C++ Quiz

C/C++ Quiz

Assessment

Quiz

Education

University

Hard

Created by

Mustkeem Sheikh

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Identify the correct extension of the user-defined header file in C++.

a)     cpp

b)     .hg

c)     .h

d)     .hf

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. C++ uses which approach?

a) right -left

b) Top-down

c) left-right

d) bottom–up

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Which of the following data type is supported in C++ but not in C?

 

a) int

b) bool

c) double

d) float

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. Which of the following is the “address of the operator”?

a) *

b) &

c) []

d) &&

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Identify the scope resolution operator.

a) :

b) ::

c) ?

d) None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. Identify the correct definition of the ‘*’ operator in the pointer.

a) Address of operator

b) Value of address operator

c) Multiplication operator

d) All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Choose the correct default return value of a function.

a) int

b) void

c) char

d) float

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?