0
Non const function and const template function
Why const int a in main is not calling template function? https://code.sololearn.com/ctidsniA6e31/?ref=app
1 Odpowiedź
0
Yeah got it... Thank you..
I updated code for pointer example. Currently function void print(int* p) is called from main function... But if I change it to void print(const int* p), it is not getting called... Why so ?