Q. What is the output of the following code?
Int main(void)
{
char name = 'P';
'P' = 10;
return 0;
}

  • (A) name will contain value 10
  • (B) p will contain 10
  • (C) syntax error
  • (D) none of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) syntax error

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
545
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate