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 |
marge linklist
What is a segmentation fault?
can anyone please tell about the nested interrupts?
How to write a program to receive an integer & find its octal equivalent by using for loop?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What is difference between stdio h and conio h?
What is cohesion in c?
write a program whose output will be- 1 12 123 1234
Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors
How to add two numbers without using semicolon at runtime
Explain the use of bit fieild.
how to print value of e(exp1)up to required no of digits after decimal?