what isthe difference between c structure and c++ class
Answer Posted / harshad khedekar
c does not allow struct data type to be treated like built-in datatype also it does not supports data hiding concept.in c++ instead of struct we have class which overcomes all the above limitations.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Templates mean
Advantage and disadvantage of routing in telecom sector
What is meant by multiple inheritance?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
what type of questions
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is encapsulation in simple terms?
What is oops?what is its use in software engineering?
What is the difference between a constructor and a destructor?
What is new keyword in oops?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
Why do we use oops?
What is the point of polymorphism?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is ambiguity in inheritance?