Using Objects

Part of CommonErrorsCategory

Description

Objects have to be initialized before they are used.

Example

void main()
{  
   Object o;

    /* An access violation will occur if the following statement is omitted. */

    o = new Object(); 

   printf("%.*s", o.toString);
}