Functions - C

Functions - C

12th Grade

10 Qs

quiz-placeholder

Similar activities

Iteration - While Loop

Iteration - While Loop

8th - 12th Grade

12 Qs

Java Methods

Java Methods

University

15 Qs

C++ Training-Day 1_Quiz

C++ Training-Day 1_Quiz

University

10 Qs

CodeHS While Loops

CodeHS While Loops

9th - 12th Grade

12 Qs

Unit 2 Python

Unit 2 Python

University

10 Qs

Java Control Flow statements

Java Control Flow statements

University

10 Qs

Python Lists v2

Python Lists v2

9th - 12th Grade

15 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

Functions - C

Functions - C

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Purushotham M

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following C code?

870

30

Error

Segmentation fault

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output?

9

Compilation Error

24

10

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output?

5

10

15

20

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

What will be the output of the following recursive code?

2

6

8

16

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

What will be the output of the following fun code?

8

13

21

34

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?