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
Tell me about low level programming languages.
Does c have class?
How to declare a variable?
Explain what are compound statements?
What is a structure member in c?
What are run-time errors?
The statement, int(*x[]) () what does in indicate?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
Write a program to reverse a string.
What are the advantages of using new operator as compared to the function malloc ()?
simple program of graphics and their output display
How do you sort filenames in a directory?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Is c is a high level language?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters