
C Programming Quiz
Authored by InfiTechLearn Team
Other
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid declaration in C?
int 2num;
float rate = 5.5.5;
char letter = 'A';
int long = 10;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which format specifier is used for printing unsigned int in C?
%d
%c
%f
%u
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will sizeof('A') return in C?
2
1
4
8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is guaranteed to execute at least once?
for loop
do-while loop
while loop
goto
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of printf("%d", 5 + 'A');?
5
ASCII of 'A'
ASCII of 'A' + 5
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct way to declare a pointer to an integer?
int ptr;
int *ptr;
ptr int;
int &ptr;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to access the value at the address pointed by a pointer?
&
->
*
@
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
Responsible Tourism
Quiz
•
University
25 questions
Leçon 2: Qui est-ce?
Quiz
•
University
25 questions
Unit - 2
Quiz
•
University
25 questions
GED101 FINAL QUIZ
Quiz
•
University
25 questions
Learn technical English words with me!
Quiz
•
11th Grade - University
25 questions
Bánh mì Talk - 15/02/2025
Quiz
•
1st Grade - University
25 questions
UNIT - 2 A Understanding Parsers in Compilers
Quiz
•
University
25 questions
New Zealand :>
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University