If you delete an icloud account on your iphone 4, will it also delete the apps installed?

My friend lend me her old phone since mine broke. And her icloud account is on this phone and i would like to delete everything except she wants me to keep this app with all of her music and i just want to make sure if i delete the icloud account that it wont affect deleting the apps.
If you delete an icloud account on your iphone 4, will it also delete the apps installed?

No.

Original thread: https://forums.imore.com/threads/if-you-delete-an-icloud-account-on-your-iphone-4-will-it-also-delete-the-apps-installed.343021/