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

Rapunzel walks into the forest of forgetfullness. She meets a Lion who lies on Monday Tuesdays and Wednesdays and meets a rabbit who lies on Thurs fridays and saturdays . On that day both say that "I lied yesterday". What day is it .

3 Answers   TCS,


Explain data types & how many data types supported by c?

0 Answers  


Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

0 Answers  


How to find the digits truncation when assigning the interger variable to the character variables. like int i=500; char x = i : here we have truncation. how to find this. another ex: i =100; char x=i. here we do not have truncation.

1 Answers   HCL,


What is getche() function?

0 Answers  


Write a small C program to determine whether a machine's type is little-endian or big-endian.

5 Answers   nvidia,


Is multithreading possible in c?

0 Answers  


Is c still relevant?

0 Answers  


What is the equivalent code of the following statement in WHILE LOOP format?

0 Answers  


Can we change the value of static variable in c?

0 Answers  


Why calloc is better than malloc?

0 Answers  


What is the general form of a C program?

0 Answers  


Categories