Home / MCQ Bank / Computer
Computer Functions And Procedures In C Plus Plus

What is the correct syntax for declaring a function prototype in C++?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • returnType functionName(parameters)

Related Computer Questions

Which algorithm can be used to find an eulerian cycle in a graph? Which of the following disadvantage does literate programming have? What will be the output of the following Python code? re.split(r'(a)(t)', 'Maths is a difficult subject') Which of the following statement will create a column with varchar datatype? What will be the output of the following C# code? static void main(string[] args) { int i; int res = fun (out i); console.writeline(res); console.readline(); } static int fun(out int i) { int s = 1; i = 7; for (int j = 1; j <= i; j++ ) s = s * j; return s; }