GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  TCS  >  C

 Print  |  
Question:  difference between class and structure



July 07, 2006 00:57:33 #4
 harsha   Member Since: Visitor    Total Comments: N/A 

RE: difference between class and structure
 
a>the data members of a class are private by default where as those in structure are public.b>class can have the destructors while the structures cannot have.
     

 

Back To Question