Good Day MansiJha1,
My name is Carlo, I'm an Independent Advisor and community member like you.
I am also using Windows 10 pc. Let us work together to sort this out.
Here's the steps you can try.
-Press Windows key + X
-Go to Device Manager
-Expand the Camera
-Look for Camera driver that was installed
-Right click and Update
-Look for "Browse my computer for driver
-Let me pick drivers available drivers
-Choose an old driver and use it.
-Press Windows key + X
-Go to Settings
-Click on Apps then Apps and Features
-Look for Camera in the list of the apps and click it.
-Click Advance Option
-Scroll down and hit Reset.
Go to this link to enable the app access to the camera.
https://support.microsoft.com/en-us/windows/tur...
Restart your pc and check if the camera works.
I hope the information above helps. Please let me know how it goes.
Have a wonderful day ahead and stay safe.
With Warm Regards,
Carlo T.