| Other C++ General Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| What is Name Decoration? |
Lucent | 2 |
| What are the advantages and disadvantages of using inline
and const? |
TCS | 1 |
| What is a pure virtual function?
Why is it represented as = 0...how is the internal
implementation for the same |
CTS | 3 |
| Memory is not a constraint. In a single iteration(NOTE: you
can't go back), how will you find out the 10th last
node/item in a linked list. |
Goldman-Sachs | 16 |
| whats the size of class EXP on 32 bit processor?
class EXP
{
char c1;
char c2;
int i1;
int i2;
char *ptr;
static int mem;
}; |
Huawei | 4 |
| i want the NIC programmer-B model papaer pattren, iwant the
all model papers? |
NIC | 15 |
| difference between c and c++? |
Infosys | 38 |
| What is "map" in STL? |
| 2 |
| Which algorithm do you like the most? Why? |
Google | 2 |
| What is your strongest programming language (Java, ASP, C,
C++, VB, HTML,C#, etc.)? |
Microsoft | 22 |
| Given the following seqment of code containing a group of
nested if instructions: y = 9; if ((x==3) || (x == 5)) y++;
else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y =
8; Enter a segment of code (without any IF statements) that
does exectly the same thing using the switch structure. |
| 1 |
| please help to write the code of chess game in c++?????????? |
NEC | 1 |
| |
| For more C++ General Interview Questions Click Here |