If we keep dividing a no by 2 it will decrease continuously but will not reach neg.
So the (n<0) will never execute and as control never gets past convert() function because it calls convert again and gets inside. So even printf("%d", n%2) will not be executed ever.
The program will neither print anything nor will it ever terminate.