Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Day 2:- C Programing Quiz

Total questions: 5

Worksheet time: 10mins

Name
Class
Date
1.

What will be the sum of all the elements?

a)

n²

b)

n(n-1)

c)

0

d)

n³

2.

What will be the output of the code above?

a)

Hello

b)

HelloWorld

c)

World

d)

Error

3.

What will the above code print?

a)

102010

b)

201010

c)

102020

d)

201020

4.

What will be the output?

a)

111

b)

110

c)

121

d)

120

5.

What will be the output?

a)

@\#Hello World!

b)

Hello World!

c)

ello World!

d)

Hello World!d!