Answer Posted / alekhya
1.in structure we have only data members where as
in class we have members and member functions
2.in class we declare members with access specifiers like
private,public...
in structs we dont have any access specifiers all the
members of structure are pubic
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is c language & why it is used?
Explain bit masking in c?
What are formal parameters?
What are identifiers and keywords in c?
What is getch () for?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What are extern variables in c?
What is the Purpose of 'extern' keyword in a function declaration?
Explain how do you list files in a directory?
How can I determine whether a machines byte order is big-endian or little-endian?
Explain continue keyword in c
What is clrscr ()?
What is the value of uninitialized variable in c?
What is hashing in c language?
What is const keyword in c?