1.

which of the following is used to terminate the function declaration?(a) :(b) )(c) ;(d) ]The question was posed to me in exam.This intriguing question originated from Function Declarations in section Functions, Namespaces & Exceptions in C++ of C++

Answer»

Right answer is (c) ;

Best explanation: ; semicolon is USED to TERMINATE a function DECLARATION STATEMENT in C++.



Discussion

No Comment Found

Related InterviewSolutions