GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  iNautix
Next Question 
 iNautix  |  Question 1 of 7    Print  
iNautix C++ paper:
1.cin is an
a.function
b.object
c.class.

2.i con't remember the ques but the ans is Virtual base class

3.What is the use of scope resolution operator?

4.Advantage of inline function?

5.Copy constructor is
ans:call by value.

6.Question on virtual destructor?

7.Template one ques?

8.one q' on container class?

The order above may be different.there are totally 15 questions its very easy to answer.

Rest of the questions are as same as HCL Cisco. You can do that.



  
Total Answers and Comments: 3 Last Update: March 09, 2007     Asked by: Arun Prakash 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
January 10, 2006 02:07:12   #1  
Bharadwajtti Member Since: September 2005   Contribution: 1    

RE: iNautix C++ paper:
1.cin is a function2. 3. You can tell the compiler to use the global identifier rather than the local identifier by prefixing the identifier with :: the scope resolution operator#include using namespace std;int amount 123; // A global variableint main() { int amount 456; // A local variable cout << ::amount << endl // Print the global variable << amount << endl; // Print the local variable}4.In some cases inline functions make a compute-bound application run faster.5.When an object is passed by value returned by value or explicitly copied. Copy Constructor is invoked. Basically It is invoked implicitly by the compiler.6.
 
Is this answer useful? Yes | No
March 09, 2007 13:27:03   #2  
Abhijit Gore        

RE: iNautix C++ paper:
Person above me is wrong.

Cin is a object of class Istream and operators << are overloaded in istream class enabling user to use the format cin << ......

 
Is this answer useful? Yes | No
March 09, 2007 13:29:08   #3  
Abhijit Gore        

RE: iNautix C++ paper:
Answer given to question 1 above is wrong.

Cin is a object of class Istream and the operator << is overloaded in the istream class enabling developer to use the format cin <<......

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
Related Categories
Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape