Aptitude Question No.6
main()
{
clrscr();
}
clrscr();
Answer
No output/error
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).
No comments:
Post a Comment