#include<bits/stdc++.h>
using namespace std;
int fun()
{
  int d = 0012;
  return d;
}
int main()
{
  cout << fun() << "\n";
  return 0;
}
Output : 10
here in fun() function d value is 12 but when called fun() and print it value, it is 10 why fun() function return 10?
 
     
    