+ 1
we have four types of functions
return type and arguments can be any valid Datatype
1.
with arguments without return type
e.g. void func(int,double)
2.
with arguments with return type
e.g. int func(int,float)
3.
without arguments with return type
e.g. int func()
4.
without arguments without return type
e.g. void func()