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
20 questions
ITIPT01 Quiz No 1

Quiz
•
University
15 questions
Common errors in C programming

Quiz
•
University
15 questions
CHAPTER 4 - PART 1

Quiz
•
University
20 questions
1st Year quiz

Quiz
•
University
20 questions
Translators and Computing Languages: GCSE 9-1

Quiz
•
9th Grade - University
20 questions
GirlsWhoML Workshop 0

Quiz
•
University
20 questions
Output Quiz-9

Quiz
•
University
15 questions
Python revision

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University