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 the difference between ++ count and count ++?
What is operator overloading in c++ example?
What is pointer to member?
What is the two main roles of operating system?
How would you obtain segment and offset addresses from a far address of a memory location?
what is data Abstraction? and give example
147 Answers Aaditya Info Solutions, American Express, CMS, College School Exams Tests, Data Entry Operator, First Advantage, Google, HCL, IBM, Infosys, Microsoft, Mind Links, NIIT, Oracle, Pact, QBit Systems, TCS, WAYA, Wipro,
How many namespaces are there in c++?
What are c++ tokens?
Define a pointer to a data member of the type pointer to pointer?
Why is c++ considered difficult?
What happens if a pointer is deleted twice?
What is setw manipulator in c++?