Is structure can be inherited?




Answer Posted / sabu

Everything for what a class is implemented holds good for
structure also in C++.

Is This Answer Correct ?    8 Yes 4 No






Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c++ vector a linked list?

19


Explain method of creating object in C++ ?

77


What are the differences between new and malloc?

85


Does there exist any other function which can be used to convert an integer or a float to a string?

82


What is the most common mistake on c++ and oo projects?

69






What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)

81


What do you mean by volatile and mutable keywords used in c++?

77


What are static type checking?

59


Const char *p , char const *p What is the difference between the above two?

65


Is c++ map a hash table?

15


What is the maximum combined length of command line arguments including the space between adjacent arguments?

74


What is the best free c++ compiler for windows?

37


How is computer programming useful in real life?

35


What is the difference between new() and malloc()?

44


Can we use pointers in c++?

41