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

Home » C++ » Questions on Structure in C++

Interview Questions on Structure in C++ : (16)


Question: 1

(A) Yes
(B) No
(C) Compilation Error
(D) Runtime Error

Compiler
Level: BeginnerCategory: structure
[Posted by: | ]



Question: 2

(A) Structure which contains pointers
(B) Structure which has pointer to itself
(C) Structure which contains another structure
(D) None of these

Compiler
Level: PractitionerCategory: structure
[Posted by: | ]



Question: 3

(A) 4
(B) 6
(C) 8
(D) 12

Compiler
Level: ExpertCategory: structure
[Posted by: | ]



Question: 4

(A) 4
(B) 6
(C) 8
(D) 12

Compiler
Level: ExpertCategory: structure
[Posted by: | ]



Question: 5

(A) 4
(B) 6
(C) 8
(D) 12

Compiler
Level: ExpertCategory: structure
[Posted by: | ]



Question: 6

(A) data
(B) members
(C) objects
(D) none of these

Compiler
Level: BeginnerCategory: structure
[Posted by: | ]



Question: 7

(A) 128
(B) 256
(C) 1024
(D) None of the above

Compiler
Level: PractitionerCategory: structure
[Posted by: | ]



Question: 8

(A) Yes
(B) No
(C) Depends on Compiler

Compiler
Level: BeginnerCategory: structure
[Posted by: | ]



Question: 9

(A) int
(B) float
(C) class
(D) enum

Compiler
Level: PractitionerCategory: structure
[Posted by: | ]



Question: 10

(A) Yes
(B) No

Compiler
Level: PractitionerCategory: structure
[Posted by: | ]



Question: 11

(A) Yes
(B) No

Compiler
Level: PractitionerCategory: structure
[Posted by: | ]



Question: 12

(A) TRUE
(B) FALSE

Compiler
Level: BeginnerCategory: structure
[Posted by: | ]



Question: 13

(A) TRUE
(B) FALSE

Compiler
Level: BeginnerCategory: structure
[Posted by: | ]



Question: 14

(A) a member
(B) an array
(C) a tag
(D) None of these

Compiler
Level: BeginnerCategory: structure
[Posted by: | ]



Question: 15

(A) employee[2]->hourlyWage = 50.00;
(B) employee2.hourlyWage = 7.50;
(C) hourlyWage[2].employee = 29.75;
(D) employee[2].hourlyWage = 75.00;

Compiler
Level: BeginnerCategory: structure
[Posted by: | ]



Question: 16

(A) cout<<student1.gpa;
(B) cout<<firstStudent.gpa;
(C) cout<<student[1].gpa;
(D) cout<<student1 ->gpa;

Compiler
Level: BeginnerCategory: structure
[Posted by: | ]