Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » C » Interview Questions on Pointers in C

Interview Questions on Pointers in C : (6)


Question: 1

(A) 320
(B) 60
(C) 160
(D) 64

Compiler
Level: Practitioner Category of MCQ: pointers



Question: 2

(A) 1 1
(B) 2 2
(C) 4 4
(D) Undefined

Compiler
Level: Beginner Category of MCQ: pointers



Question: 3

(A) character
(B) integer
(C) Unsigned character
(D) All of these

Compiler
Level: Beginner Category of MCQ: pointers



Question: 4

(A) ptr is not a pointer
(B) ptr is a pointer to pointer
(C) Such statement no allowed in C
(D) None of these

Compiler
Level: Beginner Category of MCQ: pointers



Question: 5

(A) 2
(B) 4
(C) 8
(D) 0

Compiler
Level: Beginner Category of MCQ: pointers



Question: 6

(A) ptr must refer to desc
(B) ptr may point to any descriptor elsewhere in memory
(C) Incrementing ptr will cause misalignment between ptr and desc
(D) desc may be modified through ptr

Compiler
Level: Practitioner Category of MCQ: pointers