πŸ“Š C++
Q. Find the output of below program?
Code:
#include<iostream>
using namespace std;

int main()
{

cout<<-1-1-1;

return 0;
}
  • (A) -3
  • (B) 0
  • (C) 3
  • (D) Compilation Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) -3

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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