C++ Interview Questions and Answers

 

What can I safely assume about the initial values of variables which are not explicitly initialized?

It depends on complier which may assign any garbage value to a variable if it is
not initialized.

Posted by:Richards