Search Header Logo

C PROGRAMMING FOR 2ND AND 3RD YEAR

Authored by sonam tomar

Computers

University

Used 1+ times

C PROGRAMMING FOR 2ND AND 3RD YEAR
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Global variable are available to all functions. Does there exist a mechanism by way of which it available to some and not to others.

YES

NO

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What does the following code fragment write to the monitor?

Under

Over

Under the limit

Over the limit

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the program?

Hello
Hi Hello
No output
Infinite loop

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Pickup odd one out

a=a+1;

a+=1

a++

a=+1

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int main()

{

float c = 3.5 + 4.5;

printf("%f", c);

return 0;

}

7

8

9

8.000000

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h>

int main(){

int x= 5%2 *3/2;

printf("%d",x);

return 0;

}

1

2

3

99

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which operator performs operations on data in Binary Level.

Logical operator

Bitwise operator

Conditional operator

None

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?