What is the Difference between Class and Struct?
Answer Posted / manju
The only difference between class and struct is that
in class all members are private by default whereas in
struct the members are by default public.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What are the salient features of c languages?
Explain pointers in c programming?
Explain data types & how many data types supported by c?
What is zero based addressing?
Explain the advantages of using macro in c language?
Explain how can type-insensitive macros be created?
What does the error message "DGROUP exceeds 64K" mean?
What is the correct code to have following output in c using nested for loop?
What is the data segment that is followed by c?
Why we use break in c?
What are linked lists in c?
Difference between goto, long jmp() and setjmp()?
What is hashing in c?
How can you find the exact size of a data type in c?
What is the use of header files?