Pointers

Pointers

12th Grade

20 Qs

quiz-placeholder

Similar activities

c-basics-1

c-basics-1

10th Grade - Professional Development

24 Qs

Loops Vocabulary

Loops Vocabulary

9th - 12th Grade

17 Qs

Data Structures

Data Structures

12th Grade

15 Qs

Programming in C language

Programming in C language

12th Grade - University

18 Qs

Memahami PBO

Memahami PBO

11th Grade - University

15 Qs

12CS (1-5)

12CS (1-5)

12th Grade

20 Qs

XII - CA - Lesson 5 - Function and Array - Quiz 2

XII - CA - Lesson 5 - Function and Array - Quiz 2

12th Grade

15 Qs

SQL Commands Part 1

SQL Commands Part 1

11th - 12th Grade

20 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?