+ 2
What's the name of the function?
int ans (int x, int y) { int a=x*y; return a; }
5 Respostas
+ 5
int -> function return type
ans -> function name
(int x, int y) -> function parameters
+ 4
ans?
+ 4
It is ans, is it not?
0
ans is the mane of the function
syntax :
return type function name ( return arguments )
{
}