main()
{
clrscr();
}
clrscr();
Answers were Sorted based on User's Feedback
Answer / surenda pal singh chouhan
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).
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / revathi
the clrscr()inside the main() just clears the screen.
where the clrscr() outside the main() won't do any action.
it just act as a declaration.
| Is This Answer Correct ? | 8 Yes | 3 No |
Gud question.. have to try this out..
m not sure about the answer..
because clrscr() is an inbuilt function.
so the clrscr() in the main will jump to the function body
which is defined in the header files..
for the second clrscr()...
i donno...
have to check it out.. :-(
| Is This Answer Correct ? | 1 Yes | 4 No |
What are header files why are they important?
What are the 5 data types?
Do array subscripts always start with zero?
Which programming language is best for getting job 2020?
What is the size of enum in c?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
Expand the following LKB BKL FFG
When we use void main and int main?
Why c is called procedure oriented language?
how to return 1000 variables from functio9n in c?plz give me code also
create a C program that displays one z,two y's,three x's until twenty six A's. plzz answer i need it tomorrow.
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list