Pointers

Pointers

12th Grade

20 Qs

quiz-placeholder

Similar activities

ROBOTC Rules/Syntax

ROBOTC Rules/Syntax

9th - 12th Grade

17 Qs

Linked List

Linked List

KG - University

18 Qs

G10 CS Programming: Variables & Datatypes

G10 CS Programming: Variables & Datatypes

12th Grade

20 Qs

Pseudocode and Flowcharts

Pseudocode and Flowcharts

9th - 12th Grade

21 Qs

C-Programming Basics

C-Programming Basics

12th Grade

16 Qs

CUET Level - II Computer Science(7/11/2023)

CUET Level - II Computer Science(7/11/2023)

12th Grade

15 Qs

Unit 4 - Translators

Unit 4 - Translators

12th Grade

16 Qs

Linked Lists in Visual Basic

Linked Lists in Visual Basic

12th Grade

15 Qs

Pointers

Pointers

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Habeebuddin Khaja

Used 21+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A pointer declaration statement

datatype pointername;

ptrname datatype;

datatype *ptrname;

datatype &ptrname;

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Double pointer is also known as

Pointer to a Pointer

Pointer to a variable

pointer to a memory

pointer to a value

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the data type of generic pointer?

float

void

int

double

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

In the statement char names[10][5] how many address are saved;

10

5

50

15

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

In the statement int a[5][5] how many one dimensional arrays exists?

1

10

25

5

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

struct student

{

char *name;

}s,*sptr;

the statement which initializes names to "cse"

s.*name="cse";

sptr->name="cse";

*s.name="cse"

None

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

From single dimensional array, Statement to get the address of the element at the ith index

a+i

&(a+i)

both

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?