Which of the following is a correct format for declaration of function?
A.return-type function-name(argument type);
B.return-type function-name(argument type) {}
C.return-type (argument type)function-name
D.Both (a) and (b)
Answer:A
Which of the following is a correct format for declaration of function?
A.return-type function-name(argument type); B.return-type function-name(argument type) {} C.return-type (argument type)function-name D.Both (a) and (b)