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 [...]
↧