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 program and how it is?

void main()
{
static int var=5;
printf("%d",var--);
if(var)
main();
}

Answer Posted / sireesha

54321

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of errors?

1208


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1294


Write a Program to find whether the given number or string is palindrome.

1339


What is the method to save data in stack data structure type?

1147


find the sum of two matrices and WAP for it.

1196


program for reversing a selected line word by word when multiple lines are given without using strrev

2538


Ow can I insert or delete a line (or record) in the middle of a file?

1050


Subtract Two Number Without Using Subtraction Operator

906


Describe static function with its usage?

1275


What is null pointer constant?

1280


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1182


What does double pointer mean in c?

1259


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

1413


If I have a char * variable pointing to the name of a function ..

1230


Do you have any idea about the use of "auto" keyword?

1131