Thursday, February 14, 2008

Aptitude Question No.6

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:

2008 Placement papers of Top MNC companies

eXTReMe Tracker