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;
Can a program run without main?
What is c++ manipulator?
What is the meaning of string in c++?
Is python written in c or c++?
Write a single instruction that will find the remainder of integral division when x is divided by y. Have the answer stored in z.
Is c++ a float?
What are static and dynamic type checking?
What is the use of pointer in c++ with example?
How many characters are recognized by ANSI C++?
Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.
16 Answers BNB, FDS, Goldman Sachs, Nagarro,
What are files in c++?
What is the difference between the functions rand(), random(), srand() and randomize()?