0
Can anyone tell me, what is d syntax of "calling function"??
2 Respostas
0
generall syntax for function calling is your function name followed by paranthasies
for example I have a function "void hello()" it is not tacking any arguments and not returnning any value to call this function you have to use syntax like this in your main "hello ()"
for example I have a fun "int sum (int a ,int b)"
it is calculating some of two integers and returning the sum so you have to pass two integers to your fun like this sum (10,30)
function prototype :return data type function_name (argument list)
0
C++ uses "dot notation" to call the methods of a class I.e. SomeClass.CallMethod()