Write a corrected statement in c++ so that the statement
will work properly. if (x > 5); y = 2*x; else y += 3+x;
Answer / rose
if(x>5)
{
y=2*x
}
else
{
int temp;
temp=3+x;
y+= temp;
}
| Is This Answer Correct ? | 3 Yes | 1 No |
what is data abstraction in C++?
What is rvalue?
Evaluate !(1&&1||1&&0) a) Error b) False c) True
Implement strcmp
the maximum length of a character constant can be a) 2 b) 1 c) 8
Explain the difference between abstract class and interface in c++?
What is using namespace std in cpp?
What's the most powerful programming language?
Is c++ map a hash table?
What is endianness?
Describe run-time type identification?
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers