Is there a difference between class and struct?


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

Post New Answer

More C++ Interview Questions

What are the different scope C++ provide ?

0 Answers   Amdocs,


Identify the error in the following program. include<iostream> using namespace std; void main() { int num[]={1,2,3,4,5,6}; num[1]==[1]num ? cout<<"Success" : cout<<"Error"; }

1 Answers  


What is an abstract class?

5 Answers   Siemens,


What is an algorithm (in terms of the STL/C++ standard library)?

0 Answers   Amazon,


What are "pure virtual" functions?

0 Answers   Adobe, Alter, iNautix,






what do you mean by exception handling in C++?

0 Answers   Alter,


How will you print a list of all unique words from a string which may contain repeated words?

0 Answers   Adobe,


Write a program to read two numbers from the keyboard and display the larger value on the screen

1 Answers  


How to stop class inheritance in C++ with condition that object creation should be allowed

0 Answers  


Can we use THIS Pointer in static function – Reason in C++?

0 Answers  


What is the difference between creating an object, using 'new' and using 'malloc'?

3 Answers   HFG, Siemens,


Define type casting in C++.

0 Answers   Amdocs,


Categories