Smartindia Classroom
CONTENTS
Chemistry
English
Mathematics
Physics
Computer Science(NCERT)
Back to home
Start Practice
Question-1
What will be the address of the first element of an array?
(A)
Array name
(B)
Array size
(C)
First array element name
(D)
Array type
Question-2
Which is the ‘value at address’ operator?
(A)
*
(B)
&
(C)
;
(D)
++
Question-3
Where are the datas being executed allocated?
(A)
Static memory
(B)
Primary memory
(C)
Main memory
(D)
Secondary memory
Question-4
Which of the following operator returns a pointer to its starting point?
(A)
delete
(B)
new
(C)
clear
(D)
Scope resolution
Question-5
Which of the following is a way to implement call by reference?
(A)
Passing parameters
(B)
Passing variables
(C)
Passing pointers
(D)
Passing function calls
Question-6
What will be the result if an float pointer variable t is used in the following way. Int a; t=&a;?
(A)
address of a will be stored in t
(B)
address of a will be casted to float value
(C)
the address of a will be lost
(D)
error
Question-7
Which of the following can be performed on pointers?
(A)
%
(B)
&
(C)
*
(D)
+
Question-8
What is the correct code line to store the address of x into pointer variable p?
(A)
P=*x;
(B)
P=x*;
(C)
P=&x;
(D)
P*=x;
Question-9
What is the address of first byte of memory location known as?
(A)
Base type address
(B)
Base address
(C)
Base pointer address
(D)
Memory base address
Question-10
What is the use of a pointer?
(A)
For address manipulation in compilers
(B)
For application programs
(C)
For accessing variables
(D)
For program compilation
Your Score 0/10
Click
here
to see your answersheet and detailed track records.
Plus 2 Computer Science
CBSE
Practice in Related Chapters
Object Oriented Programming in C++
Data Structure
Pointers
Constructor and Destructor
Classes and Objects
Database Concepts
Communication and Open Source Concepts
Databases Management System and SQL
Boolean Algebra
Data Structures (Arrays, Stack and Queue)
Class and Object
Powered By