A

Admin • 833K Points
Coach

Q. What should be the output?

Code:
int main() {
int new = -10;
cout<<"new is: "<<new;
return 0;
}
  • (A) new is: -10
  • (B) new is: 0
  • (C) new is: 10
  • (D) Compilation Error
  • Correct Answer - Option(D)
  • Views: 81
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.