Pointers
Quiz
ā¢
Computers
ā¢
University
ā¢
Practice Problem
ā¢
Hard
Ise Jnnce
Used 112+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
23 questions
Quiz2_TAFL (Session 2023-24)
Quiz
ā¢
University
18 questions
PBO Inheritance Episode 2
Quiz
ā¢
University
20 questions
DATABASE MANAGEMENT CT-1
Quiz
ā¢
University
21 questions
Pemodelan & Simulasi Sistem PRAK
Quiz
ā¢
University
18 questions
U3.1. Connections (JDBC)
Quiz
ā¢
University
18 questions
Lenguaje de Definición de Datos
Quiz
ā¢
University
20 questions
js DOM
Quiz
ā¢
12th Grade - Professi...
20 questions
Programming Concepts in C - Quiz-II
Quiz
ā¢
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
ā¢
3rd Grade
20 questions
Equivalent Fractions
Quiz
ā¢
3rd Grade
25 questions
Multiplication Facts
Quiz
ā¢
5th Grade
22 questions
fractions
Quiz
ā¢
3rd Grade
20 questions
Main Idea and Details
Quiz
ā¢
5th Grade
20 questions
Context Clues
Quiz
ā¢
6th Grade
15 questions
Equivalent Fractions
Quiz
ā¢
4th Grade
20 questions
Figurative Language Review
Quiz
ā¢
6th Grade
