Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 ?    30 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's the return value of malloc()

9 Answers  


Can a file other than a .h file be included with #include?

0 Answers   Aspire, Infogain,


How can I swap two values without using a temporary?

0 Answers  


What are dangling pointers in c?

0 Answers  


Why c is procedure oriented?

0 Answers  


coding for Fibonacci.?

1 Answers  


What is the output for the program given below typedef enum grade{GOOD,BAD,WORST,}BAD; main() { BAD g1; g1=1; printf("%d",g1); }

4 Answers   ADITI,


What is C language ?

0 Answers   Jekson,


What is the difference function call by value & function call by reference?

6 Answers  


Explain how do you print only part of a string?

0 Answers  


Explain what are the different data types in c?

0 Answers  


What will be your course of action for a push operation?

0 Answers  


Categories