Logo 
Search:

c programming Interview FAQs

Submit Interview FAQ
No Records Found!!!
Go Ahead and Post your Interview FAQ
Home » Interview FAQs » c programmingRSS Feeds
C++ Programming
Comments: 0

map k = map_test; Which of statement(s) does illustrate the above code correctly? - Select

If map_test is a map,
map k = map_test;
Which of the following statement(s) does illustrate the above code correctly?

I. It will create a new map k whose elements are logical copies of the elements of map_test.
II. It is equivalent to: mapm...
Posted By:Ellie Brown      Posted On: Nov 22

C++ Programming
Comments: 0

What will happen if an error is not handled? - Select option

Options

a) Error in compilation
b) Abrupt program termination
c) Error in execution
d) None of the above

Answer :

a) Error in compilation
b) Abrupt program termination
c) Error in execution
d) None of the above

Posted By:Adalfrid Fischer      Posted On: Nov 21

C++ Programming
Comments: 0

Which one of the following options is true on the topic of Simula67?

i. It is the first Object-oriented programming language
ii. It’s a predecessor to C++
iii. It was designed for doing simulations¬
iv. All of the above


Options


a) Both i and ii
b) i only
c) iii only
d) iv only


Answer : d) iv only
Posted By:Helga Miller      Posted On: Nov 21

C++ Programming
Comments: 0

Identify the error, if any: char str_name ‘a‘;

Options

a) str_name is not a valid variable name
b) Variables cannot be initialized at the time of declaration
c) Missing = sign between str_name and ‘a’
d) No error


Answer : c) Missing = sign between str_name and ‘a’
Posted By:Jackson Bouchard      Posted On: Nov 21

C++ Programming
Comments: 0

What is Similar Edges in dfs (data file structure)?

The two edges which are parallel and whose initial nodes are same are called similar edges.
Posted By:Ethan Evans      Posted On: Nov 20

C++ Programming
Comments: 0

Which of the following would assigns the string “welcome” to the second constructor? - Select

Consider the following code segment:

class simple
{
int a,b;
public:
simple();
simple(char[]);
};

Which of the following would assigns the string “welcome” to the second constructor?

a) simple s(“welcome”);
b) simple s(welcome);
c) s...
Posted By:Klarissa Schmidt      Posted On: Nov 20

C++ Programming
Comments: 0

map k = map_test; Which of statement(s) does illustrate the above code correctly? - Select

If map_test is a map,
map k = map_test;
Which of the following statement(s) does illustrate the above code correctly?

I. It will create a new map k whose elements are logical copies of the elements of map_test.
II. It is equivalent to: mapm...
Posted By:Ellie Brown      Posted On: Nov 22

C++ Programming
Comments: 0

What will happen if an error is not handled? - Select option

Options

a) Error in compilation
b) Abrupt program termination
c) Error in execution
d) None of the above

Answer :

a) Error in compilation
b) Abrupt program termination
c) Error in execution
d) None of the above

Posted By:Adalfrid Fischer      Posted On: Nov 21

C++ Programming
Comments: 0

Which one of the following options is true on the topic of Simula67?

i. It is the first Object-oriented programming language
ii. It’s a predecessor to C++
iii. It was designed for doing simulations¬
iv. All of the above


Options


a) Both i and ii
b) i only
c) iii only
d) iv only


Answer : d) iv only
Posted By:Helga Miller      Posted On: Nov 21

C++ Programming
Comments: 0

Identify the error, if any: char str_name ‘a‘;

Options

a) str_name is not a valid variable name
b) Variables cannot be initialized at the time of declaration
c) Missing = sign between str_name and ‘a’
d) No error


Answer : c) Missing = sign between str_name and ‘a’
Posted By:Jackson Bouchard      Posted On: Nov 21

C++ Programming
Comments: 0

What is Similar Edges in dfs (data file structure)?

The two edges which are parallel and whose initial nodes are same are called similar edges.
Posted By:Ethan Evans      Posted On: Nov 20

C++ Programming
Comments: 0

Which of the following would assigns the string “welcome” to the second constructor? - Select

Consider the following code segment:

class simple
{
int a,b;
public:
simple();
simple(char[]);
};

Which of the following would assigns the string “welcome” to the second constructor?

a) simple s(“welcome”);
b) simple s(welcome);
c) s...
Posted By:Klarissa Schmidt      Posted On: Nov 20

  20  21  22  23  24  25  26  27  28  29  30