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

Home » C++ » C++ Objective Questions (Page-8)

C++ Objective Questions - Page-8

Page 8 (140 - 160)

Question: 140

(A) Compilation Error
(B) 0
(C) 1
(D) -4

Compiler
Level: Practitioner Category: enum
[Posted by: Admin | Chicago, USA]


Question: 141

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

Compiler
Level: Beginner Category: structure
[Posted by: Admin | Chicago, USA]


Question: 142

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

Compiler
Level: Practitioner Category: structure
[Posted by: Admin | Chicago, USA]


Question: 143

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

Compiler
Level: Beginner Category: structure
[Posted by: Admin | Chicago, USA]


Question: 144

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

Compiler
Level: Practitioner Category: structure
[Posted by: Admin | Chicago, USA]


Question: 145

(A) Yes
(B) No

Compiler
Level: Practitioner Category: structure
[Posted by: Admin | Chicago, USA]


Question: 146

(A) Yes
(B) No

Compiler
Level: Practitioner Category: structure
[Posted by: Admin | Chicago, USA]


Question: 147

(A) :?
(B) ::
(C) ->
(D) .

Compiler
Level: Practitioner Category: namespace
[Posted by: Admin | Chicago, USA]


Question: 148

(A) namespace::a
(B) namesspace.a
(C) namespace->a
(D) namespace:a

Compiler
Level: Practitioner Category: namespace
[Posted by: Admin | Chicago, USA]


Question: 149

(A) <iostream>
(B) <ofstream>
(C) <ifstream>
(D) <fstream>

Compiler
Level: Beginner Category: filehandling
[Posted by: Admin | Chicago, USA]


Question: 150

(A) <ofstream>
(B) <outstream>
(C) <iofstream>
(D) <ostream>

Compiler
Level: Beginner Category: filehandling
[Posted by: Admin | Chicago, USA]


Question: 151

(A) <ofstream>
(B) <ifstream>
(C) <fstream>
(D) <iostream>

Compiler
Level: Beginner Category: filehandling
[Posted by: Admin | Chicago, USA]


Question: 152

(A) ios :: out
(B) ios :: app
(C) ios :: in
(D) ios::end

Compiler
Level: Practitioner Category: filehandling
[Posted by: Admin | Chicago, USA]


Question: 153

(A) ios::out | ios::in
(B) ios::out, ios::in
(C) ios::out || ios::in
(D) ios::out & ios::in

Compiler
Level: Expert Category: filehandling
[Posted by: Admin | Chicago, USA]


Question: 154

(A) Moves get pointer (input) to a specified location
(B) Moves put pointer (output) to a specified location
(C) Gives the current position of the get pointer
(D) Gives the current position of the put pointer

Compiler
Level: Practitioner Category: filehandling
[Posted by: Admin | Chicago, USA]


Question: 155

(A) Moves get pointer (input) to a specified location
(B) Moves put pointer (output) to a specified location
(C) Gives the current position of the get pointer
(D) Gives the current position of the put pointer

Compiler
Level: Practitioner Category: filehandling
[Posted by: Admin | Chicago, USA]


Question: 156

(A) Moves get pointer (input) to a specified location
(B) Moves put pointer (output) to a specified location
(C) Gives the current position of the get pointer
(D) Gives the current position of the put pointer

Compiler
Level: Practitioner Category: loops
[Posted by: Admin | Chicago, USA]


Question: 157

(A) Gives the current position of the put pointer
(B) Gives the current position of the get pointer
(C) Moves put pointer (output) to a specified location
(D) Moves get pointer (input) to a specified location

Compiler
Level: Practitioner Category: filehandling
[Posted by: Admin | Chicago, USA]


Question: 158

(A) For
(B) Do…While
(C) If
(D) While

Compiler
Level: Beginner Category: loops
[Posted by: Jeffry Azhari Rosman | Indonesia]


Question: 159

(A) Branching
(B) Looping
(C) Rekursif
(D) Algorithm

Compiler
Level: Beginner Category: loops
[Posted by: Jeffry Azhari Rosman | Indonesia]


Question: 160

(A) QT
(B) SDL
(C) WxWidget
(D) Bootstrap

Compiler
Level: Practitioner Category: other
[Posted by: Admin | Chicago, USA]