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
How can you tell whether two strings are the same?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What is the modulus operator?
How do I determine whether a character is numeric, alphabetic, and so on?
What are identifiers in c?
What is a c token and types of c tokens?
What is %s and %d in c?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
explain what is a newline escape sequence?
When should the register modifier be used? Does it really help?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is a program flowchart and how does it help in writing a program?
What is declaration and definition in c?