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 |
How can we see the Expanded source code and compiled code for our source program in C?
how to find the largest element of array without using relational operater?
How can you invoke another program from within a C program?
What are control structures? What are the different types?
what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year
When can you use a pointer with a function?
What is hash table in c?
what is the difference between getch() and getche()?
write a program that prints a pascal triangle based on the user input(like how many stages) in an efficient time and optimized code?
can i know the source code for reversing a linked list with out using a temporary variable?
Can two or more operators such as and be combined in a single line of program code?
a c code by using memory allocation for add ,multiply of sprase matrixes