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 pointer -to-members in C++? Give their syntax?
Explain the virtual inheritance in c++.
How the virtual functions maintain the call up?
what Is DCS ? what i will get benefit when i did?
Explain Memory Allocation in C/C++ ?
what do you mean by volatile variable?
Hi i need to Acess a variable "int Intval" in the below mentioned code .How to Access it guys i am waiting for your reply
What is a float in c++?
What does std mean in c++?
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
How does list r; differs from list r();?
Is c++ a high level language?