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



November 11, 2006 00:42:19 #5
 pavankishore   Member Since: Visitor    Total Comments: N/A 

RE: difference between class and structure
 

class is a user defined data type in object oriented paradigm.

it consists of both data and code(methods).

where as structure is also a userdefined datatype but consists of only data members.not methods

     

 

Back To Question