C Programming :: Basic Concepts

Home > C Programming > Basic Concepts > Discussion

6. What is the output of the following C Program?

#include
void main()
{
clrscr();
}
clrscr();

Answer: Option A

Explanation :

The first clrscr() occurs inside a function. So it becomes a function call. In the second clrscr(); is a function declaration (because it is not inside any function).

Post Your Answer Here:     

No Discussion on this question yet!