Answer Posted / srilatha
1.structure contains only data members.
class contains data members and member functions.
2.in structures we can use keyword struct.
in classes we can use keyword class.
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
where are auto variables stored? What are the characteristics of an auto variable?
What is the advantage of c?
What is a static function in c?
What is the difference between single charater constant and string constant?
what do u mean by Direct access files? then can u explain about Direct Access Files?
Give the rules for variable declaration?
Write the Program to reverse a string using pointers.
What are the standard predefined macros?
What is context in c?
How is a pointer variable declared?
What is the difference between malloc() and calloc() function in c language?
How is a null pointer different from a dangling pointer?
what is the height of tree if leaf node is at level 3. please explain
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Is linux written in c?