C++ Programming Question:
Download Questions PDF

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

C++ Programming Interview Question
C++ Programming Interview Question

Answer:

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

Download C++ Programming Interview Questions And Answers PDF

Previous QuestionNext Question
What does extern mean in a function declaration?What is the difference between char a[] = “string”; and char *p = “string”;?