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



what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ..

Answer / vijay gupta

it well goes in indefinite loop

Is This Answer Correct ?    27 Yes 2 No

what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ..

Answer / shrikantauti

such loops are known as infinite loop or odd loop.

Is This Answer Correct ?    6 Yes 2 No

what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ..

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

Post New Answer

More C Interview Questions

what is the full form of c language

9 Answers   Satyam, TCS, VNC,


What is c programing language?

0 Answers  


write a program to search for an element in a given array. If the array was found then display its position otherwise display appropriate message in c language

18 Answers   IT Park, TCS,


Why is c so powerful?

0 Answers  


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

0 Answers   HP,






Derive the complexity expression for AVL tree?

1 Answers  


What is #include stdlib h?

0 Answers  


my name is nani i completed my b-tech in hyd now i want go for interveiw but i dont know the process of software field interveiws plz help me anyone how many rouds there n what rounds plz plz plz help me n where i can get these details

2 Answers  


Explain what are linked list?

0 Answers  


How to implement call back functions ?

3 Answers   HP,


How to removing white spces in c programming only bu using loops

2 Answers  


What is || operator and how does it function in a program?

0 Answers  


Categories