what is the output of the below code?
main( )
{
printf ( "\nOnly stupids use C?" ) ;
display( ) ;
}
display( )
{
printf ( "\nFools too use C!" ) ;
main( ) ;
}
Answers were Sorted based on User's Feedback
Answer / shrikantauti
such loops are known as infinite loop or odd loop.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / sindhu
it execute infinite loop as
only stupids use c
fools too use c
these two statements infinite times on output screen
| Is This Answer Correct ? | 2 Yes | 0 No |
Ow can I insert or delete a line (or record) in the middle of a file?
Why we use stdio h in c?
what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }
how to print "hai" in c?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
What is meant by 'bit masking'?
writw a program to insert an element in the begning of a doubly linked list
Hi Every one...........I have been selected for the SBI Clerk. But i m one month Pregnanat. So anyone please suggest me, is they take any objection on my joining .
4 Answers State Bank Of India SBI,
1,4,8,13,21,30,36,45,54,63,73,?,?.
10 Answers AMB, Franklin Templeton,
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
Can i use Two or More Main Funtion in any C program.?
Explain data types & how many data types supported by c?