Data Structure Through C

Data Structure Through C

1st Grade

25 Qs

quiz-placeholder

Similar activities

ESCUELA DE CONDUCCIÓN

ESCUELA DE CONDUCCIÓN

1st Grade

20 Qs

ASK T2 3.2 STRUKTUR KOD ARAHAN

ASK T2 3.2 STRUKTUR KOD ARAHAN

1st - 3rd Grade

20 Qs

S.O.M. U1-U2: Introducción,Estructura,Funcionalidad y G.Recursos

S.O.M. U1-U2: Introducción,Estructura,Funcionalidad y G.Recursos

1st Grade

20 Qs

ON TAP TIN 11

ON TAP TIN 11

1st - 12th Grade

20 Qs

Evaluación de Derecho Tercer Bimestre

Evaluación de Derecho Tercer Bimestre

1st - 2nd Grade

20 Qs

ICT

ICT

1st Grade - University

20 Qs

microsoft powerpoint fundamentals

microsoft powerpoint fundamentals

KG - University

20 Qs

L1 & L2 class 1

L1 & L2 class 1

1st - 3rd Grade

20 Qs

Data Structure Through C

Data Structure Through C

Assessment

Quiz

Computers

1st Grade

Practice Problem

Hard

Created by

Harshit K

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is an array in C?

A collection of variables of different data types.
A collection of variables of the same data type.
A collection of functions.
A collection of pointers.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How is an array indexed in C?

1 to n
0 to n-1
-1 to n-1
-1 to n

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the size of the array int arr[10]?

10 bytes
20 bytes
40 bytes
Depends on the compiler

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is the correct way to declare a function in C?

functionName();
returnType functionName(parameters);
returnType functionName;
functionName returnType(parameters);

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a pointer in C?

A variable that stores the address of another variable.
A variable that stores data.
A variable that points to a function.
A variable that stores a character.

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the following statement declare: int *ptr;?

A pointer to an integer.
An integer variable.
A pointer to a character.
An array of integers.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you access the value pointed to by a pointer in C?

&ptr
*ptr
ptr
ptr*

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?