TECHNICAL INTERVIEW AND PRACTICE QUESTIONS ON C++
SET - 1
1. C++ Was Originally developed by
(a) clocksin and mellsih (b) Donal E.Knuth
(c) Sir Richard Hadlee (d) Bjarne Stroustrup
2. Cfront
(a) is the front end of a C compiler
(b) is the pre-processor of a C compiler
(c) is a tool that translate a C++ code to its equivalent C code
(d) all of these
3. The following program fragment
int i=10;
void main()
{
int i =20;
{
int i =30;
cout<<i<<::i;
}
}
(a) prints 3010 (b) prints 3020
(c) compiler error (d) Run-time error