Question: Part 1 : M C Q s peints ] Any C program a ) Must contain at least one function b ) Need not contain
Part : s peints
Any C program
a Must contain at least one function
b Need not contain any function
c Needs input data
d None of these
Choose the correct statement about functions in
a A function is a group of statements that can be reused any number of times
b Every function has a return type.
c Every function may not return a value.
d All of the above
Which is not a correct function declaration?
a int functchar char ;
b double funct
c void funct ;
d char ;
Which of the following is a valid function call assuming the function exists
a funct;
b funct ;
c funct;
d int funct;
Which one is the correct statement?
a The body of a function should have only one return statement.
b Function can return only one value in call by value environment.
c Function can return multiple values.
d None of these
What will be the output of the following code?a Nothingb Compile time errorc hello world!d None of the above
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
