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
πŸ’¬ Discuss
βœ… Correct Answer: (D) Compilation Error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
320
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
86%
Success Rate