Pointers

Pointers

University

20 Qs

quiz-placeholder

Similar activities

EC8393_FDS_MODEL EXAM_3_PART B

EC8393_FDS_MODEL EXAM_3_PART B

University

15 Qs

Relational Algebra and Calculus

Relational Algebra and Calculus

University

20 Qs

Ilustrator (mid)

Ilustrator (mid)

University

16 Qs

Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

University

15 Qs

SE Quiz 1

SE Quiz 1

University

18 Qs

CC103 - Seatwork 1

CC103 - Seatwork 1

University

15 Qs

AI BootCamp: 2024 Edition- Session 1

AI BootCamp: 2024 Edition- Session 1

University

20 Qs

Atividade de Fixação - Python

Atividade de Fixação - Python

University

20 Qs

Pointers

Pointers

Assessment

Quiz

Computers

University

Hard

Created by

Ise Jnnce

Used 112+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do the following declaration signify? char *arr[10];

arr is a array of 10 character pointers.

arr is a array of function pointer

. arr is a array of characters

. arr is a pointer to array of characters

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following comments about arrays and pointers is/are not true?

Both are exactly same

Array is a constant pointer

Pointer is an one-dimensional and dynamic array

All of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The declaration

int(*p) [5];     

means

p is one dimensional array of size 5, of pointers to integers.

p is a pointer to a 5 elements integer array.

The same as int *p[

None of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What we will not do with function pointers?

Allocation of memory

De-allocation of memory

Both A & B

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the mandatory part to present in function pointers?

&

return value    

data type

None of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following can be passed in function pointers?

variables

data types

functions

objects

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The mem functions are meant for

returning a pointer to the token

manipulating objects as character arrays

returning a pointer for implemented-defined string

returning a pointer to first occurrence of string in another string

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?