What is the difference between constant variable, function and static variable,function in c++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between constant variable, function and static variable,function in c++?

I am learning c++ and the recent lesson was based on constant data member and member functions and in my university i learnt static function which looks exactly same to the constant concept here.. is there any difference between them? Any help is much appriciated

20th Oct 2020, 12:45 PM
Soumojit Chowdhury
Soumojit Chowdhury - avatar
1 Answer
0
Thanks
20th Oct 2020, 1:28 PM
Soumojit Chowdhury
Soumojit Chowdhury - avatar