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 |
Describe private, protected and public – the differences and give examples.
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
write infinite loop in C++ which does not use any variable or constant?
What is vector pair in c++?
How one would use switch in a program?
What do you mean by Stack unwinding?
which is best institue to learn C/C++ IN AMEERPET OR MAITHRIVANAM OR SR NAGAR, PLEASE HELP. THANKS IN ADVANCE
Why is c++ awesome?
Differentiate between an inspector and a mutator ?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
what is the use of Namespace in c++.
What is an adaptor class or Wrapper class?