coding challenge

How to Find Next Greater Number with Same Set of Digits in C?

How to Find Next Greater Number with same Set of Digits of a Given Number in C Program? This is a coding question as well as asked in many interview coding rounds.