-
What is the output of this program?
#include <iostream>
using namespace std;
int main()
{
unsigned long num = 56;
cout << num << oct <<" " << num << endl;
return 0;
}
-
- 56
- 70
- 70 56
- 56 70
- None of these
Correct Option: D
In this program, We are finding the octal number of given number by using oct function.