Q. Which of the following represents correct syntax for function declaration? (Solved)
1. int sum(int,int);
2. int sum(int,int){}
3. int sum;
4. both a and c
- a. int sum(int,int);
1. int sum(int,int);
2. int sum(int,int){}
3. int sum;
4. both a and c