C/C++ Programming Quiz

C/C++ Programming Quiz

University

25 Qs

quiz-placeholder

Similar activities

PRA UAS - Dasar Dasar Pemrograman 2023

PRA UAS - Dasar Dasar Pemrograman 2023

University

20 Qs

Introduction to Java

Introduction to Java

University

25 Qs

CS 211 - Midterm Review

CS 211 - Midterm Review

University

30 Qs

Final C Quiz

Final C Quiz

University

30 Qs

Quizz C++ ^_^

Quizz C++ ^_^

University

20 Qs

C - Strings

C - Strings

University

20 Qs

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

C que que que

C que que que

University

23 Qs

C/C++ Programming Quiz

C/C++ Programming Quiz

Assessment

Quiz

Computers

University

Easy

Created by

Trigger Mind

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a function in C?

func

function

def

void

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a loop used for in C?

To repeat a block of code multiple times

To define a function

To store data

To print text

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function used for in C?

To store data on which beyblade series is best

To define a block of code that can be reused

To control program flow

To print text

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to access the value stored in a pointer variable in C?

*

->

::

.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to denote a single-line comment in C?

//

#

/*

'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a pointer to an integer?

int *ptr;

ptr int;

integer ptr;

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a pointer used for in C?

To store a string

To store the address of another variable

To point towards the sky

To perform calcualations

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?