Search Header Logo

OOP_Viva_P1_B13A_Mar02

Authored by MR ARORA

Computers

University

Used 4+ times

OOP_Viva_P1_B13A_Mar02
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following operators can be applied on structure variables in C programming?

Equality comparison ( == )

Assignment ( = )

Both

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Predict the output of given code.

Welcome to Jaypee University21

Welcome to Jaypee University

Welcome to Jaypee University2821

Welcome to Jaypee University28

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Predict the output of the given C code.

10

20

30

Error

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Out of the two operators (* and ++), which operator will be evaluated first while evaluating the following expression?

Expression: *ptr++

*

++

Expression is incorrect

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

 Find out the number of elements in the following array declaration:

int arr[3][4][9];

36

12

27

108

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Predict the output of the following C code.


1 2 3 4 5 6

2 4 6

1 3 5

1 3 5 6

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

 Find out the number of elements in the following array declaration:


char str[] = “Hello JUET”;

10

11

9

12

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?

Discover more resources for Computers