GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  iNautix

 Print  |  
Question:  iNautix C++ paper:

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


January 01, 2006 02:07:12 #1
 Bharadwaj Microsoft Expert  Member Since: September 2005    Total Comments: 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.
     

 

Back To Question