How to know whether ur project folder is in public folder or in private folder can i change in between the public and private folder

What do you mean about private and public folders?

On free hosting you can only upload files to directories which can be accessed through your website. So everything is public by default.

However, you can restrict access to files and directories using the IP Blocker and Directory Privacy options in your control panel, or by setting your own .htaccess rules.