Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   C++ (http://www.domainnameforum.org/forumdisplay.php?f=123)
-   -   How are local and global variables initialized by default? (http://www.domainnameforum.org/showthread.php?t=119535)

C++ 08-25-2010 08:53 AM

How are local and global variables initialized by default?
 
I am newbie to C++ and pretty confused about initialization of local variables for built-in and class types. Here's a snippet of the code: 1 #include 2 using namespace std; 3 4 class A { 5 6 public :


All times are GMT -4. The time now is 06:22 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.