Friday 15 March 2013

No output/error


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


Blog Author: Vijay Kumar

Go to: Java Aptitude

No comments:

Post a Comment