SIGKILL RUNTIME ERROR!

#include
using namespace std;
int main(){
int n,t;
cin>>t;
while(t){
cin>>n;
while(n!=0){
int r=0;
r=n%10;
n=n/10;
cout<<r;
}
cout<<endl;
}
}
i am getting right answer but it show runtime sigkill error!

It should be while(t–) not while(t)

1 Like