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 is new line escape sequence?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
what is difference between array,strutter,union and pointers
3 Answers CTS, Lovely Professional University, Mannar Company,
WHAT IS PRE POSSESSORS?
How can you find out how much memory is available?
if array a conatins 'n' elements and array b conatins 'n-1' elements.array b has all element which are present in array a but one element is missing in array b. find that element.
18 Answers Parexel, Ram Infotech, Zycus Infotech,
Do pointers take up memory?
Explain the properties of union.
What type is sizeof?
How do shell structures work?
Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.
How many levels of indirection in pointers can you have in a single declaration?
0 Answers Agilent, ZS Associates,