For this Question: Given a number, you task is to reverse its digits. If the reversed number contains 0s in the beginning, you must remove them as well.First line consists of a single integer denoting n.

Constraint:-
1<=size of n<=100Output is a single line containing reversed number n.Sample Input
123445

Sample Output
544321

Sample Input
16724368

Sample Output
86342761, I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;



int main()
{
string s;
cin>>s;
reverse(s.begin(),s.end());
int I;
for( I=0;I<s.length();I++){
if(s[I]!='0'){break;}
}
if(I==s.length()){cout<<0;return 0;}
for(int j=I;j<s.length();j++){
cout<<s[j];}


}
, In this Programming Language: C++, Now tell me if this Code is compilable or not?