Advertisements
Advertisements
Question
Which of the following function is with a return value and without any argument?
Options
x = display(int, int)
x = display()
y = display(float)
display(int)
MCQ
Solution
x = display()
shaalaa.com
User-defined Functions
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
Which function begins the program execution?
Which is the return data type of the function prototype of add(int, int);?
Define Functions.
What is the importance of void data type?
What are parameters and list their types?
What is the information the prototype provides to the compiler?
What are default arguments? Give example.
Write a program to accept any integer number and reverse it.