Agile C++ Test Questions

Last Updated on Tuesday, 3 May 2011 02:00 Written by EditorMonday, 10 September 2007 02:16

Agile C++ Interview Preparation Questions:

(1)the difference b/w pure virtual fn.& virtual fn.
(a)pure virtual function. is initialized to zero.
(b)

(2)virtual destructor’s are used for
(a)

(3)find legal statement
(a)cout>>”name”>>endl;
(b)cout<<”name<
(c)cout<<”name”<
(4)find the o/p of the program

void main()
{
int a=10;b;
if(a&lt;=10)
b=4;
if(a&gt;10)
b=5;
cout&lt;
}

(a)it don’t be compiled
(b)it compiles and o/p’s 10 4(ans)

(5)a question on copying or assigning

(6)early or static binding means
(a)at runtime
(b)at compile time(ans)

(7)one question on global variables,one question on globally declared static variable

(8)two question on “vector” type

(9)the branch of a tree which has no child’s is called

(10)when a node c is inserting b/w nodes a and b how many pointer will be modified

(a)2(check)

Post to Twitter


Submit Interview Questions at intr[at]freshershome.com




2 Comments
  1. Kindly send me the answer for this questions.

  2. pls send ans my e-mail thangam kala

Leave a Reply