i understand concept of defining constant variables like
but i don't understand when it comes to function parameters, what is the difference between these pairsCode:const int i = 5; const char * tx = "hello";
Code:void func(int i){} void func(const int i){} int func(){} const int func(){} void func(char * tx){} void func(const char * tx){} char * func(){} const char * func(){}




Reply With Quote
