πŸ“Š C++
Q. What happens if the line below is executed in C and C++?
Code:
const int x;
  • (A) Error in C and C++
  • (B) Warning in C and C++
  • (C) Error in C++ and success in C
  • (D) Error in C and success in C++
πŸ’¬ Discuss
βœ… Correct Answer: (C) Error in C++ and success in C

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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