What is the Difference between Class and Struct?
Answer Posted / vishnupriya
1.the variables of struct r jus varialbles inly,whereas it
it objects for class...
2. pointers can be used in structure only for same return
types,but in classes it can be uses for diff classes
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain what are the __date__ and __time__ preprocessor commands?
how to construct a simulator keeping the logical boolean gates in c
What do you mean by a local block?
How do you override a defined macro?
Is a pointer a kind of array?
How do I read the arrow keys? What about function keys?
What is #include cctype?
Is it fine to write void main () or main () in c?
Does * p ++ increment p or what it points to?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
What are data structures in c and how to use them?
Which is more efficient, a switch statement or an if else chain?
What is c mainly used for?
what is event driven software and what is procedural driven software?
What is formal argument?