Thread: a tricky one
View Single Post
Go4Expert Founder
4Dec2007,11:36  
shabbir's Avatar
A simple answer could be static functions can be called without the class object. You can call the function like this.
int i = test::func();
but if test::func() is not static then you need an object of class test to call the function func