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 you draw circles in C?
Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +
main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 Answers Vector, Vector India,
write a function that accepts an array A with n elements and array B with n-1 elements. Find the missing one in array B,with an optimized manner?
How the processor registers can be used in C ?
Why cant I open a file by its explicit path?
what is a pointer
4 Answers Bank Of America, TCS,
what is c language?
Describe advantages and disadvantages of the various stock sorting algorithms
why do we use # in c-language?
What does c mean?
What are linker error?