
Functions - C

Quiz
•
Computers
•
12th Grade
•
Hard
Purushotham M
Used 4+ 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?
870
30
Error
Segmentation fault
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output?
9
Compilation Error
24
10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output?
5
10
15
20
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
20 11 19
19 10 20
10 11 19
11 10 20
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following recursive code?
2
6
8
16
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen when static is used in the countCalls()?
1 2 3
1 1 1
0 1 2
Compilation Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following fun code?
8
13
21
34
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Functions in Python

Quiz
•
University
10 questions
AP CSA 4.2 (For Loops)

Quiz
•
10th - 12th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
10 questions
Python Exception Handling

Quiz
•
10th - 12th Grade
10 questions
Python - Functions

Quiz
•
University
10 questions
Random functions

Quiz
•
12th Grade
10 questions
Python Quiz

Quiz
•
University
10 questions
Java Quiz 2 based on loop and if else

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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade