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
Exam 1 Practice

Quiz
•
University
15 questions
Python Basics

Quiz
•
KG - University
22 questions
EXCEPTION HANDLING IN PYTHON

Quiz
•
University
20 questions
Day 6 - ONLINE TEST - PL03 PYTHON PROGRAMMING

Quiz
•
University
20 questions
Python Recap

Quiz
•
7th Grade - University
20 questions
PYTHON FUNCTION

Quiz
•
University
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
20 questions
Python Strings

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade