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

Quiz
•
Computers
•
University
•
Hard
Ise Jnnce
Used 109+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
15 questions
C programming

Quiz
•
University
20 questions
BS TEST2

Quiz
•
University
15 questions
Coding and Debugging

Quiz
•
University
25 questions
C Programing

Quiz
•
University
20 questions
CSE C Section

Quiz
•
University
20 questions
Code-A-Vita

Quiz
•
University
25 questions
C PROGRAMMING

Quiz
•
University
15 questions
Milking Minds 2 17-01-24

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade