Difference between struct and class in terms of access modifier.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Write about the access privileges in c++ and also mention about its default access level?

0 Answers  


What is null c++?

0 Answers  


Describe new operator?

0 Answers  


What is #include cstdlib in c++?

0 Answers  


When there is a global variable and local variable with the same name, how will you access the global variable?

0 Answers  


What are stacks? Give an example where they are useful.

0 Answers  


What are the conditions that have to be met for a condition to be an invariant of the class?

1 Answers  


What are vectors used for in c++?

0 Answers  


Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?

0 Answers   Maxobiz,


Is c++ high level programming language?

0 Answers  


Find the second maximum in an array?

12 Answers   HCL,


Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?

6 Answers   CSC,


Categories