what is the output of the below code?
main( )
{
printf ( "\nOnly stupids use C?" ) ;
display( ) ;
}
display( )
{
printf ( "\nFools too use C!" ) ;
main( ) ;
}
Answer Posted / 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 |
Post New Answer View All Answers
What functions are used for dynamic memory allocation in c language?
what are bit fields in c?
What is function what are the types of function?
What is indirection in c?
What is the benefit of using an enum rather than a #define constant?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
Explain how can I prevent another program from modifying part of a file that I am modifying?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
ATM machine and railway reservation class/object diagram
Write a program to know whether the input number is an armstrong number.
What is nested structure?
Which is an example of a structural homology?
Describe the steps to insert data into a singly linked list.
When should a far pointer be used?