Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C Programming
»
Functions
Functions cannot return more than one value at a time
True
Correct Answer:
True
Explanation:
True, A function cannot return more than one value at a time. because after returning a value the control is given back to calling function.
← Previous Question
Next Question→
More Questions from
Functions
A function cannot be defined inside another function
If return type for a function is not specified, it defaults to int
A function may have any number of return statements each returning different values.
Functions can be called either by value or reference
Names of functions in two different files linked together must be unique
If a function contains two return statements successively, the compiler will generate warnings. Yes/No?
Functions cannot return a floating point number
Maximum number of arguments that a function can take is 12
Every function must return a value
Will the following functions work? int f1(int a, int b) { return ( f2(20) ); } int f2(int a) { return (a*a); }
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments