
III Part 3

Quiz
•
Education
•
University
•
Hard
ARAVINTH B
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code? int main() { int a = 5; printf("%d", a++); return 0; }
5
6
Compiler error
Undefined behavior
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following Python code? a = {1: 'A', 2: 'B'} print(a[1])
B
1
A
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid C storage class?
auto
static
register
mutable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the continue statement do in a loop?
Stops the loop entirely
Skips the current iteration and moves to the next one
Jumps to the end of the loop
Exits the loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used for dynamic memory allocation in C?
malloc()
calloc()
realloc()
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following C code? int main() { int a = 10; int *p = &a; printf("%d", *p); return 0; }
10
Address of a
Undefined behavior
Compiler error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to comment multiple lines in C?
//
/* /
/* */
#
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Chapter 5_Labview [Measurement Engineering, MMT]

Quiz
•
University
11 questions
Conocimientos sobre Arduino y Sensores

Quiz
•
8th Grade - University
11 questions
Python - Functions

Quiz
•
University
10 questions
Visual Basic

Quiz
•
University
9 questions
Tynker Tynker

Quiz
•
3rd Grade - Professio...
10 questions
Weekly Contest #11

Quiz
•
University
10 questions
The_Lean_STARTUP

Quiz
•
University
10 questions
Compose Camp - Session 2 Quiz

Quiz
•
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 Education
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