What is the difference between Class and Structure?
Answer Posted / anupam gupta
class has define object and funtion
structure has define only object
| Is This Answer Correct ? | 8 Yes | 18 No |
Post New Answer View All Answers
What is pointer in c++ with example?
Explain one method to process an entire string as one unit?
What is iterator in c++?
What is the default width for ouputting a long integer using the insertion operator?
What is a constant reference?
What is null pointer and void pointer and what is their use?
Can non graphic characters be used and processed in C++?
What is dynamic and static typing?
Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
Why do we need constructors in c++?
Why do we use classes in c++?
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
What data encapsulation is in c++?
What is an overflow error?