Q. What is the output of below program?

Code:
int main()
{
int a = 10;
cout<<a++;
return 0;
}
  • (A) 10
  • (B) 11
  • (C) 12
  • (D) Not defined
πŸ’¬ Discuss
βœ… Correct Answer: (A) 10

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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