Verified Jobs Live
C++ and C Intermediate Level ~1 min read

Agile C++ Test Questions

Quick Revision Summary

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 ...

Interactive Practice Mode
Formulate your thoughts or take notes before revealing the model solution.
Model Answer & Deep-Dive Explanation

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<=10)
b=4;
if(a>10)
b=5;
cout<
}

(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)

Interviewer Evaluation Points & Scoring Rubric

  • 1 Structure answer clearly: Core concept, Practical example, and Pitfalls to avoid.
  • 2 Demonstrate clear communication without unnecessary buzzwords.
  • 3 Relate concept to real-world software development scenarios.