Get the FREE certificate on C, C++, Java, Python, Perl, PHP, SQL, Linux & Javascript!  

CppBuzz.com
  
Home C C++ Java Python Perl PHP Spring SQL Javascript Linux Forum

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

You are here : Home » Interview Questions on Structure in C++


Question: 1

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

Beginner structure Compile it[Posted by: Admin | Chicago, USA]



Question: 2

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

Practitioner structure Compile it[Posted by: Admin | Chicago, USA]



Question: 3

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

Expert structure Compile it[Posted by: Admin | Chicago, USA]



Question: 4

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

Expert structure Compile it[Posted by: Admin | Chicago, USA]



Question: 5

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

Expert structure Compile it[Posted by: Admin | Chicago, USA]



Question: 6

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

Beginner structure Compile it[Posted by: Admin | Chicago, USA]



Question: 7

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

Practitioner structure Compile it[Posted by: Admin | Chicago, USA]



Question: 8

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

Beginner structure Compile it[Posted by: Admin | Chicago, USA]



Question: 9

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

Practitioner structure Compile it[Posted by: Admin | Chicago, USA]



Question: 10

(A) Yes
(B) No

Practitioner structure Compile it[Posted by: Admin | Chicago, USA]



Question: 11

(A) Yes
(B) No

Practitioner structure Compile it[Posted by: Admin | Chicago, USA]



Question: 12

(A) TRUE
(B) FALSE

Beginner structure Compile it[Posted by: Andrew | New Jersey]



Question: 13

(A) TRUE
(B) FALSE

Beginner structure Compile it[Posted by: Andrew | New Jersey]



Question: 14

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

Beginner structure Compile it[Posted by: Andrew | New Jersey]



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;

Beginner structure Compile it[Posted by: Andrew | New Jersey]



Question: 16

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

Beginner structure Compile it[Posted by: Andrew | New Jersey]