Pointers

Quiz
•
Computers
•
University
•
Hard
Ise Jnnce
Used 110+ 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
Similar Resources on Wayground
20 questions
ความรู้พื้นฐาน Python

Quiz
•
10th Grade - University
20 questions
Module1_Quiz

Quiz
•
University
15 questions
CODE ZENITH

Quiz
•
University
25 questions
Review ETS Coding

Quiz
•
University
20 questions
Technical Quiz R1

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
20 questions
C Quest 2.0

Quiz
•
University
25 questions
C Quiz 1

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University