what is the difference between class and structure in C++?
Answer Posted / naveen tuteja
A structure can't contain the static ans constant variable
but a class can contain both.
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is polymorphism in oops?
Where You Can Use Interface in your Project
What is destructor give example?
Advantage and disadvantage of routing in telecom sector
2. Give the different notations for the class.\
What is polymorphism in oops with example?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Can static class have constructor?
Can enum be null?
What is the types of inheritance?
How do you explain polymorphism?
What does enum stand for?
Can bst contain duplicates?
What are the 4 main oop principles?
What is static modifier?