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 below code?
main() { static int a=5; printf("%3d",a--); if(a) main(); }

Answer Posted / vikas

output is 5 4 3 2 1

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what does the function toupper() do?

1083


What is the difference between Printf(..) and sprint(...) ?

1548


Under what circumstances does a name clash occur?

1213


Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

1703


What is file in c language?

1010


What is oops c?

1259


What is dynamic memory allocation?

1344


What is pointer to pointer in c with example?

1082


Why functions are used in c?

1145


What is typedef example?

1197


What is a scope resolution operator in c?

1282


Explain the Difference between the New and Malloc keyword.

1147


What does void main return?

1131


What is the size of enum in bytes?

1091


What the different types of arrays in c?

1073