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 |
How can I access a memory located at certain address?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Why static is used in c?
What is floating point constants?
What do you mean by dynamic memory allocation in c?
What are the different types of pointers used in c language?
Explain is it valid to address one element beyond the end of an array?
How to write a multi-statement macro?
x=y=z=1 z=++x||++y&&++z Printf("%%%d";xyz) what is the values of x,y and z?????
what is stack , heap ,code segment,and data segment
What is the translation phases used in c language?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......