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 |
How does java differ from c and c++?
What problem does the namespace feature solve?
Is c++ the best programming language?
Show the declaration for a static member variable.
What are protected members in c++?
What is a static member?
What is the error in the code below and how should it be corrected?
How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?
What are friend classes? What are advantages of using friend classes?
What do you mean by function pointer?
What is a concrete class?
Explain rtti.