C Quiz

C Quiz

University

15 Qs

quiz-placeholder

Similar activities

Guess the blackpink song lyrics

Guess the blackpink song lyrics

4th Grade - Professional Development

10 Qs

Protocolo 9 Microbiología

Protocolo 9 Microbiología

University

10 Qs

Teoria General de Sistemas Repaso

Teoria General de Sistemas Repaso

University

16 Qs

ANATOMIA II GRUPO E

ANATOMIA II GRUPO E

10th Grade - University

10 Qs

Quiz 1 sistem instalasi pemadam kebakaran

Quiz 1 sistem instalasi pemadam kebakaran

University

15 Qs

Comportamento de Consumo 2023 - 2

Comportamento de Consumo 2023 - 2

University

10 Qs

Bases moleculares y cromosómicas de la herencia

Bases moleculares y cromosómicas de la herencia

University

20 Qs

C Quiz

C Quiz

Assessment

Quiz

Other

University

Medium

Created by

Rakshit Sinha

Used 20+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Which of these is NOT a relational or logical operator?

=

||

==

!=

2.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

We cannot use the keyword ‘break’ simply within _________.

while

for

if-else

do-while

3.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

The global variables are ____________.

External

Internal

Both External and Internal

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

How is the 3rd element in an array accessed based on pointer notation?

*a + 3

*(a+3)

*(*a+3)

&(a+3)

5.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

What is the disadvantage of arrays in C?

The amount of memory to be allocated should be known beforehand.

Elements of an array can be accessed in constant time.

Elements are stored in contiguous memory blocks.

Multiple other data structures can be implemented using arrays.

 

6.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

What does the following declaration indicate?

int x: 8;

    x stores a value of 8.

x is an 8-bit integer.

Both A and B.

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

How to declare a double-pointer in C?

int *val

 int **val

int &val

int *&val

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?