Hello @Singh, Vineet Prakash (ext),
welcome to this moderated Azure community forum.
The SDKs are marked as feature complete so no functional changes are made anymore. Only fixes and security patches (like library updates) are done.
I also recommend to check the official Azure IoT SDK for C from Github.
Please check if these blob samples work for you:
Compare this with your solution.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.