Difference between Class and Struct.
Answer Posted / rahul yadav
wrong
structs can also contain functions in C++,
but in C, i ma not sure.
but since we are talking abot Class so we have to answer in
the context of C++,hence the answer is wrong.
only diff is of default variable scope.
| Is This Answer Correct ? | 37 Yes | 27 No |
Post New Answer View All Answers
How can I swap two values without using a temporary?
cavium networks written test pattern ..
How can I sort more data than will fit in memory?
What is the right way to use errno?
What is far pointer in c?
Can a file other than a .h file be included with #include?
What are the types of assignment statements?
Why is c still so popular?
How can my program discover the complete pathname to the executable from which it was invoked?
What is void main () in c?
Explain continue keyword in c
Explain what is a program flowchart and explain how does it help in writing a program?
Write a program to reverse a given number in c?
Define recursion in c.
Are pointers integer?