Data Structure Through C

Data Structure Through C

1st Grade

25 Qs

quiz-placeholder

Similar activities

1P HISTORIA DE LOS COMPUTADORES

1P HISTORIA DE LOS COMPUTADORES

1st - 3rd Grade

20 Qs

Ôn Thi HK2 Tin học Lớp 3*TH Đống Đa -TB

Ôn Thi HK2 Tin học Lớp 3*TH Đống Đa -TB

1st - 5th Grade

20 Qs

Arquitectura de la computadora

Arquitectura de la computadora

1st Grade

20 Qs

Latihan US TKJ-Sesion 1

Latihan US TKJ-Sesion 1

1st Grade

20 Qs

PH SIMKMDIG KD 3.1 Menerapkan Logika dan Algoritma Komputer

PH SIMKMDIG KD 3.1 Menerapkan Logika dan Algoritma Komputer

1st - 10th Grade

20 Qs

Google SketchUp Tool

Google SketchUp Tool

KG - University

20 Qs

ĐỀ CƯƠNG ÔN TẬP TIN HỌC 4

ĐỀ CƯƠNG ÔN TẬP TIN HỌC 4

1st 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?