Give the function header for Function instructions that does not receive any arguments and does not return a value? (Such a function are commonly used to display instructions to a user)
Answers
Answered by
2
CODE:
void fun1()
{
printf(""""Message for the user"""");
}
Description: Given above is a function which receives no argument and does not return a value. Such functions usually have a void return type.
These are usually used when the programmer wants to display some specific message to the user which doesn't depend on any argument.
Sometimes such functions themselves declare local variables, receive input locally, and then print the resultant output.""
Similar questions
Math,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Math,
1 year ago
Science,
1 year ago
Business Studies,
1 year ago