Initialization (programming): Difference between revisions

Content deleted Content added
A.A.Graff (talk | contribs)
A.A.Graff (talk | contribs)
Line 38:
 
===Default initialization===
Data initialization may occur without explicit syntax in a program to do so'. For example, if [[static variable]]s are declared without an initializer, then those of [[primitive data type]]s are initialized with the value of zero of the corresponding type, while static objects of class type are initialized with their [[default constructor]]s.
 
==References==