0

Can you tell whats wrong with this code in language C

Int multiply (int a, int b) { return a b;}

10th Apr 2020, 9:16 PM
Shabab Khan
Shabab Khan - avatar
5 odpowiedzi
+ 4
You forgot the multiplication operator *
10th Apr 2020, 9:17 PM
Cmurio
Cmurio - avatar
+ 2
int multiply(int a, int b) { return a*b; }
10th Apr 2020, 9:17 PM
Cmurio
Cmurio - avatar
+ 2
Maybe you could use the multiplication operator (*) to actually multiply these numbers :) int multiply (int a, int b) { return a * b; }
10th Apr 2020, 9:18 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 2
In return statement u missed * multiplication symbol
12th Apr 2020, 12:49 PM
A S Raghuvanshi
A S Raghuvanshi - avatar