Function:print all prime doubt

is n and N same or is it having different meaning. sir explain with a example

here in this case whenever you call function it copy value of n to N and use N within its scope

n is defined in main()
and N is parameter of function although both contains same variable but both have different memory

you can also use n in the function parameter

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.