Search Header Logo

c language quiz

Authored by ekta dureja

Computers

University

Used 493+ times

c language quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the function cannot be a structure member?

Another structure

Function

Array

None

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

void main()

{

​​​int color=2;

​​​switch(color)

​​​{

​​​​case 0: printf("black");

​​​​case 1: printf("blue");

​​​​case 2: printf("Green");

​​​​case 3: printf("aqua");

​​​​default:printf("other");

​​​}

}

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following is an invalid assignment operator?

A%=10;

A/=10;

A|=10

none

4.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Assignment statements assigning value to local static variables are executed only once

true

false

depends upon compiler

none

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

6

7

8

9

6.

OPEN ENDED QUESTION

30 sec • Ungraded

How would you describe your experience with us?

Evaluate responses using AI:

OFF

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

find output

22

23

24

25

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?