
C Programming Quiz
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Bandaru Chharitha
Used 1+ times
FREE Resource
Enhance your content in a minute
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of printf("%d", sizeof('A'));?
1
2
4
8
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to prevent modification of a variable?
static
const
volatile
register
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the code int a = 5; printf("%d", a++ + ++a);?
11
12
10
Undefined behavior
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator has the highest precedence in C?
*
++
()
[]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to dynamically allocate memory in C?
alloc()
calloc()
malloc()
Both B and C
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this code output? int a = 10; int b = a++ + ++a; printf("%d", b);
21
22
23
24
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a storage class in C?
auto
extern
volatile
static
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
50 questions
DDPTJKT - Latihan Soal PTS Genap
Quiz
•
10th Grade - University
46 questions
Test në JavaScript për Fillestarët
Quiz
•
10th - 12th Grade
50 questions
PYTHON BASICS GRADE 11
Quiz
•
11th - 12th Grade
45 questions
TryOut Ujian Sekolah Pengetahuan - TIK SMP N 1 JEPARA
Quiz
•
12th Grade
50 questions
KEJURUAN TEKNIK KOMPUTER DAN JARINGAN
Quiz
•
12th Grade
50 questions
CCST Networking Basics, Unit test
Quiz
•
12th Grade
50 questions
Algoritmika 1.
Quiz
•
10th Grade - University
50 questions
Ôn tập KTGK2 Tin 11
Quiz
•
9th - 12th Grade
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
