C/C++ Programming Quiz

Quiz
•
Computers
•
University
•
Easy
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
Similar Resources on Wayground
20 questions
Basic Python

Quiz
•
University
20 questions
C++ Quiz

Quiz
•
University
25 questions
C PROGRAMMING

Quiz
•
University
20 questions
CSE C Section

Quiz
•
University
20 questions
Looping & Functions C++

Quiz
•
University
20 questions
C - Structures

Quiz
•
University
20 questions
C Programming Assessment-1

Quiz
•
University
20 questions
Code-A-Vita

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade