C/C++ Quiz

C/C++ Quiz

University

25 Qs

quiz-placeholder

Similar activities

Atividade_LABPROG1_CEFET

Atividade_LABPROG1_CEFET

University

20 Qs

Quiz

Quiz

University

20 Qs

C Loops

C Loops

University

25 Qs

Uces- Simulacro Parcial 1

Uces- Simulacro Parcial 1

University

20 Qs

C Coding Contest Round 1

C Coding Contest Round 1

University

25 Qs

Ujian Semester Pemprograman Dasar

Ujian Semester Pemprograman Dasar

University

20 Qs

Python Assignment 1

Python Assignment 1

University

20 Qs

A Quiz on C Programming

A Quiz on C Programming

University

20 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?