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 an external iterator and an internal iterator? Describe an advantage of an external iterator?
Explain selection sorting. Also write an example.
What is the best way to take screenshots of a window with c++ in windows?
What is the maximum combined length of command line arguments including the space between adjacent arguments?
What do you mean by stack unwinding in c++?
write the prime no program in c++?
How is memory managed in C++?
What is size of string in c++?
Can constructor be static in c++?
Is c++ a low level language?
What is the difference between an array and a list?
How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)