C_Basic_MCQ_2

C_Basic_MCQ_2

University

8 Qs

quiz-placeholder

Similar activities

CONCEPTOS ARDUINO

CONCEPTOS ARDUINO

1st Grade - University

10 Qs

Operating System(2)

Operating System(2)

10th Grade - University

10 Qs

Práctica 26/09

Práctica 26/09

University

10 Qs

Safe Gaming: Know the Risks

Safe Gaming: Know the Risks

7th Grade - University

12 Qs

Quiz tentang Quizizz

Quiz tentang Quizizz

University

10 Qs

Integrated Admin Tasks

Integrated Admin Tasks

9th Grade - University

10 Qs

Roblox Studio Lesson 6

Roblox Studio Lesson 6

6th Grade - University

12 Qs

NoSQL Concepts

NoSQL Concepts

University

10 Qs

C_Basic_MCQ_2

C_Basic_MCQ_2

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Hard

Created by

Dinesh Kushwaha

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data type will throw an error on modulus operation(%)?

char

short

int

float

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following C code?

15

16

15.6

10

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following C code?

Syntax error

1

10

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the final value of x in the following C code?

3.75

Depends on compiler

24

3

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following C code?

Value of x is 1

Value of x is 2

Value of x is 3

Compile time error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of logical or relational expression in C?

True or False

0 or 1

0 if an expression is false and any positive number if an expression is true

None of the mentioned

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of an int data type?

4 Bytes

8 Bytes

Depends on the system/compiler

Cannot be determined

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


What is the result of the logical expression (1 && 0)?

0

1

ture

false