Cpp Programming Quiz 131 – Which of the following can be overloaded?
[B]. Functions[C]. Operators
[D]. Both B and C
Answer: Option D
Answer: Option D
ASCII value of 99
[C].
Garbage value
[D].
99.50
Answer: Option B
Explanation:
No answer description available for this question.
class Bike
{
Engine objEng;
};
class Engine
{
float CC;
};
[A].kind of relationship
[B].has a relationship
[C].Inheritance
[D].Both A and B
Answer: Option B
Compiler
[C].
Linker
[D].
main() function
Answer: Option B
Explanation:
No answer description available for this question.
Answer: Option D
#include
class IndiaBix
{
static int x;
public:
static void SetData(int xx)
{
x = xx;
}
void Display()
{
cout<< x ;
}
};
int IndiaBix::x = 0;
int main()
{
IndiaBix::SetData(33);
IndiaBix::Display();
return 0;
}
[A].The program will print the output 0.
[B].The program will print the output 33.
[C].The program will print the output Garbage.
[D].The program will report compile time error.
Answer: Option D
Answer: Option C