Trivia(Explore in depth)

Trivia(Explore in depth)

University

40 Qs

quiz-placeholder

Similar activities

Coding & Logic C&G 309 Quiz 2

Coding & Logic C&G 309 Quiz 2

11th Grade - Professional Development

35 Qs

Elements of a C# program

Elements of a C# program

University

40 Qs

Quiz ( SIL )

Quiz ( SIL )

University

45 Qs

Mikrotik & IOT

Mikrotik & IOT

University

43 Qs

UAS-UP-ADA-17122021

UAS-UP-ADA-17122021

University

35 Qs

Movies

Movies

2nd Grade - Professional Development

44 Qs

Eng-103 Vocab 4

Eng-103 Vocab 4

University

39 Qs

QUIZ RPL

QUIZ RPL

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?