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 |
Develop a program that computes the new price of an item. The program should receive a character variable colour and a double precision floating-point variable price from the user. Discount rate is determined based on the colour of the discount sticker, as shown in the following table. An error message should be printed if an invalid colour has been entered
If an old women's age is the same as her three grand daughters i,mean the number of days old child=the no of weeks old child=no of months old child .The total yrs of all these ppl is 114 yrs...then how old is the old woman? the yr has 365 days..and 30 days each month.
What are qualifiers and modifiers c?
How are pointers declared in c?
What is d'n in c?
program to find the ASCII value of a number
a=5 a=a++/++a
What is a file descriptor in c?
What does it mean when the linker says that _end is undefined?
Write a program to find the smallest and largest element in a given array in c language
what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }
how could explain about job profile