Trivia(Explore in depth)

Trivia(Explore in depth)

University

40 Qs

quiz-placeholder

Similar activities

Pemrograman Web

Pemrograman Web

University

40 Qs

ULANGAN INFORMATIKA FASE E

ULANGAN INFORMATIKA FASE E

University

40 Qs

Sistema Operativo

Sistema Operativo

8th Grade - University

40 Qs

Nhập môn Công nghệ Thông tin 2

Nhập môn Công nghệ Thông tin 2

University

40 Qs

s.e-unit-1-mcq

s.e-unit-1-mcq

University

45 Qs

MSP430

MSP430

12th Grade - Professional Development

40 Qs

NPTEL-CLOUD COMPUTING-PRACTICE TEST-4 2025

NPTEL-CLOUD COMPUTING-PRACTICE TEST-4 2025

University

40 Qs

Trivia(Explore in depth)

Trivia(Explore in depth)

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Pranavika BN

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the correct syntax to declare an integer variable in c?

int x;

integer x;

x as int;

int = x;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which function is used to print output in c?

print()

cout <<

printf()

cin<<

Answer explanation

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the following code?

2.5

2

3

Error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the correct syntax to declare a pointer to an integer in c?

int *ptr;

int ptr*;

int &ptr;

pointer int *ptr;

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the following code?

True

False

May be True

May be False

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is used to dynamically allocate memory in c?

alloc()

new

malloc()

create()

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of this code?

21

22

20

Undefined Behavior

Create a free account and access millions of resources

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?