Difference between Class and Struct.
Answer Posted / praveena.g
class ex:-
class classname
{
int a;
float b;
}
struct {
int a;
int b;
}struct name;
in the struct all members are by default public,
in the class we can deference it private,public,protected.
like these we class will taken.
| Is This Answer Correct ? | 62 Yes | 19 No |
Post New Answer View All Answers
Why & is used in c?
What is a program flowchart?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
Is c call by value?
Explain what are header files and explain what are its uses in c programming?
Define recursion in c.
What is merge sort in c?
int far *near * p; means
When can a far pointer be used?
explain what are actual arguments?
How can you be sure that a program follows the ANSI C standard?
please give me some tips for the placement in the TCS.
Linked lists -- can you tell me how to check whether a linked list is circular?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
How do I use strcmp?