| Other C++ General Interview Questions |
|| Asked @
|When is a template better solution than a base class??
|how is returning structurs from functions?Show an eg?
|string somestring ;
Which of the following choices will convert a standard C++
string object "somestring" to a C string?
a) Copy.somestring () ;
b) somestring.c_str ()
c) &somestring 
d) std::cstring (somestring)
e) (char *) somestring
|You're given an array containing both positive and negative
integers and required to find the sub-array with the largest
sum (O(N) a la KBL). Write a routine in C for the above.
|What is Pure Virtual Function? Why and when it is used ?
|structure that describe a hotel with name, address,rooms
and number of rooms
|What is conversion constructor?
|plz send me National informatics center paper pattern
|Given a simple program designed to take inputs of integers
from 1-1000 and to output the factorial value of that
number, how would you test this program? You do not have
access to the code. Please be as specific as possible.
|Write a C/C++ program that connects to a MySQL server and
checks if the InnoDB plug-in is installed on it. If so, your
program should print the total number of disk writes by MySQL.
|what is the C++
|What is the difference between reference type and pointers.
|For more C++ General Interview Questions Click Here |