Tuesday, June 5, 2007

c vs c++

One difference between c and c++ is the relative unimportance of the BSS data segment in c++. All global objects within c++ are treated as initialized because of the implicit application of class constructors.

Note:the portion of the program data segment reserved for uninitialized global object is called BSS, an abbreviation of Block Started by Symbol, an IBM assembler pseudo-op.

No comments: