Question: Part 1 : M C Q s peints ] Any C program a ) Must contain at least one function b ) Need not contain

Part 1: MCQ 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 C
a) A function is a group of C 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 funct(char x, char y);
b) double funct(x
c) void funct 0 ;
d) char x0;
Which of the following is a valid function call (assuming the function exists)?
a) funct;
b) funct x,y;
c) funct(0;
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 C code?a) Nothingb) Compile time errorc) hello world!d) None of the above
Part 1 : M C Q s peints ] Any C program a ) Must

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!