C Programming

Quiz
•
Computers
•
University
•
Hard
Wayground Content
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the size of the following union declaration? (Assuming the size of double = 8, the size of int = 4, and the size of char = 1)
32
40
24
16
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following C code? Options: 3 2 3, 2 2 3, 3 2 2, 2 3 3
3 2 3
2 2 3
3 2 2
2 3 3
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
#include statement must be written __________
Before any scanf() or printf()
After all function definitions
At the end of the program
Only in header files
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following C code? (Assuming that we have entered the value 1 in the standard input)
1 2
1 3
2 1
0 1
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following C code?
0
1
2
3
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following C code? Options: 6 -6 0 1, 6 -5 0 1, -6 -6 0 1, 6 -6 0 1
6 -6 0 1
6 -5 0 1
-6 -6 0 1
6 -6 0 1
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following C code?
Hi is printed 9 times
Hi is printed 8 times
Hi is printed 7 times
Hi is printed 6 times
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz 4 Week 6 Repetition Structures (For)

Quiz
•
University
20 questions
Round-1 Technical Aptitude

Quiz
•
11th Grade - Professi...
15 questions
JavaScript

Quiz
•
University
15 questions
Control Statements - Java

Quiz
•
University
20 questions
PL SQL

Quiz
•
University - Professi...
20 questions
Grade 9 Quiz 9A

Quiz
•
9th Grade - University
16 questions
Python Quiz-1

Quiz
•
University
16 questions
PSC ALM QUIZ

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade