Functions - C

Functions - C

12th Grade

10 Qs

quiz-placeholder

Similar activities

Python Strings

Python Strings

8th - 12th Grade

14 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

Control Statements - Java

Control Statements - Java

University

15 Qs

While Loop

While Loop

9th - 12th Grade

12 Qs

Python Input/Output

Python Input/Output

9th - 12th Grade

10 Qs

Java Control Flow statements

Java Control Flow statements

University

10 Qs

C Programming Quiz-5

C Programming Quiz-5

University

10 Qs

Pseudocode WHILE Loops

Pseudocode WHILE Loops

10th - 12th Grade

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?