What is the basic structure of a c++ program?


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

Post New Answer

More C++ General Interview Questions

When the design recommends static functions?

2 Answers   Symphony,


What is the limitation of cin while taking input for character array?

0 Answers  


What are the different types of comments allowed in c++?

0 Answers  


Is empty stack c++?

0 Answers  


What do you mean by pure virtual functions in C++? Give an example?

1 Answers  






class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list

2 Answers   Quark,


List the special characteristics of constructor.

0 Answers  


Explain 'this' pointer and what would happen if a pointer is deleted twice?

0 Answers   Genpact,


What are 2 ways of exporting a function from a dll?

0 Answers  


Keyword mean in declaration?

0 Answers  


Can I uninstall microsoft c++ redistributable?

0 Answers  


What is Memory Alignment?

2 Answers   TCS,


Categories