C - Functions - Discussion

You Are Here :: Home > C > Functions - Discussion

 



Q.

main()
{
clrscr();
}
clrscr();

A. 1 B. 0
C. Compiletime error D. No output/error

Answer: Option D
Explaination:

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).



Discussion

Your Comments Goes here...
NameDiscussion