Pointers

Pointers

12th Grade

20 Qs

quiz-placeholder

Similar activities

MS Excel Basics

MS Excel Basics

5th Grade - Professional Development

20 Qs

File Handling Revision- Text file Handling Quiz 1

File Handling Revision- Text file Handling Quiz 1

12th Grade

20 Qs

Programming Concepts

Programming Concepts

7th Grade - University

17 Qs

Language translator

Language translator

12th Grade

19 Qs

Translation

Translation

11th - 12th Grade

18 Qs

Translators and Computing Languages: GCSE 9-1

Translators and Computing Languages: GCSE 9-1

9th Grade - University

20 Qs

APCSA Unit 1 Lesson 1 Flahscards

APCSA Unit 1 Lesson 1 Flahscards

9th - 12th Grade

20 Qs

Progamming - Java Syntax

Progamming - Java Syntax

11th - 12th Grade

15 Qs

Pointers

Pointers

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Habeebuddin Khaja

Used 18+ 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?