πŸ“Š C++
Q. What is the output of this program?
Code:
#include <iostream>
    using namespace std;
    int main()
    {
        unsigned long num = 56;
        cout << num << oct <<" " << num << endl;
        return 0;
    }
  • (A) 56
  • (B) 70
  • (C) 70 56
  • (D) 56 70
πŸ’¬ Discuss
βœ… Correct Answer: (D) 56 70

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
202
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Uday Singh
Publisher
πŸ“ˆ
81%
Success Rate