Thanks @Pavel_Hernandez . TRenaming working fine. Maybe the mistake was on my side.
Though I find problems in the following:
I want to rename the main file and keep it outside the source file. But when I tried I am getting the following error saying "undefined reference to main." (I have attached the file structure I have modified. EntryPoint.c is the main program.)
I have added the path in the settings. Where else in the settings do I have to modify regarding this? My actual query is that from where the program knows that the main is in the source folder?