Is java a c++?


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

Post New Answer

More C++ General Interview Questions

class HasStatic { static int I; }; Referring to the sample code above, what is the appropriate method of defining the member variable "I", and assigning it the value 10, outside of the class declaration? a) HasStatic I = 10; b) int static I = 10; c) static I(10); d) static I = 10; e) int HasStatic::I = 10;

1 Answers   Quark,


What do you mean by stack unwinding in c++?

0 Answers  


How to get the current position of the file pointer?

0 Answers  


What are the types of array in c++?

0 Answers  


What is 'Copy Constructor' and when it is called?

1 Answers  






What is the use of :: operator in c++?

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,


What do you mean by static variables?

0 Answers  


What is a type library?

0 Answers  


What can I use instead of namespace std?

0 Answers  


Can we delete this pointer in c++?

0 Answers  


Is ca high or low level language?

0 Answers  


Categories