What's the name of the function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's the name of the function?

int ans (int x, int y) { int a=x*y; return a; }

17th Aug 2018, 1:41 PM
tamil dubsmash corner
tamil dubsmash corner - avatar
4 Answers
+ 5
int -> function return type ans -> function name (int x, int y) -> function parameters
17th Aug 2018, 11:31 PM
blACk sh4d0w
blACk sh4d0w - avatar
+ 4
ans?
17th Aug 2018, 1:48 PM
Robert Atkins
Robert Atkins - avatar
+ 4
It is ans, is it not?
17th Aug 2018, 1:55 PM
Gami
Gami - avatar
0
ans is the mane of the function syntax : return type function name ( return arguments ) { }
18th Aug 2018, 4:55 AM
Adhithyan
Adhithyan - avatar