What is the output of the following program? Why?


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

Post New Answer

More C++ General Interview Questions

Difference between a homogeneous and a heterogeneous container

0 Answers  


Explain explicit container.

0 Answers  


What are the defining traits of an object-oriented language?

0 Answers  


What are the static members and static member functions?

1 Answers  


Write a program in C++ for Fibonacci series

0 Answers   Axtria, ITC Indian Tobacco Company,






Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

0 Answers  


1.what is the difference between software & package &application.

1 Answers   Infosys,


Describe public access specifiers?

0 Answers  


What are the uses of c++ in the real world?

0 Answers  


What is the c++ programming language used for?

0 Answers  


Explain the use of vtable.

0 Answers  


class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.

2 Answers   Quark,


Categories