Question: Which function definition will run correctly? int sum(int a, int b) return (a + b); Both (a) and (b) int sum(a, b) return (a

Which function definition will run correctly? int sum(int a, int b) return (a + b); Both (a) and (b) int sum(a, b) return (a + b); int sum(int a, int b) { return (a + b); }
Step by Step Solution
3.46 Rating (156 Votes )
There are 3 Steps involved in it
Answer A The general form of programming language int returntype functionname datatype var1 datatype ... View full answer
Get step-by-step solutions from verified subject matter experts
