Question: Q 1) Find the error and also run the program and show the output of the given program. /** ******************* *****k**** A program with

Q 1) Find the error and also run the program and show the output of the given program. /** ******************* *****k**** A program with some functions and comments *********/ #include using namespac std; void lion(), messge(); // Prototypes int main() { cout < "Hello! The program starts in main()." endl; line(); message(); line(); cout < < "At the end of main()." < < endl; } void line() // To draw a line. { cout < < " < < endl; } void message() // To display a message. { cout < < "In function message()." < < endl;
Step by Step Solution
3.47 Rating (154 Votes )
There are 3 Steps involved in it
include using namespace std void linemessage prototype Here is the error Functi... View full answer
Get step-by-step solutions from verified subject matter experts
