Explain the auto storage classes in c++.



Explain the auto storage classes in c++...

Answer / Vibhu Saxena

In C++, 'auto' is a keyword used to specify that the compiler should deduce the type of a variable during compilation. This is an automatic storage class, which means the variable is created on the stack and exists for the lifetime of the block.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What do you mean by internal linking and external linking in c++?

1 Answers  


What is a dll entry point?

1 Answers  


What are shallow and deep copy?

1 Answers  


Explain class invariant.

1 Answers  


Is java the same as c++?

1 Answers  


Please explain class & object in c++?

1 Answers  


When copy constructor can be used?

4 Answers   Symphony,


What about Virtual Destructor?

1 Answers   Virtusa,


Briefly describe a B+ tree. What is bulk loading in it?

1 Answers   Wipro,


Difference between shift left and shift right?

1 Answers   Symphony,


What are the various storage classes in C++?

1 Answers   Fidelity,


What is RAII (Resource Acquisition Is Initialization)?

1 Answers  


Categories