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 / ferose

write a cprogram in 0 to 50 interger value divisble by 8

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

1177


in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

1036


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1110


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

1127


Is there a way to compare two structure variables?

1127


What is operator promotion?

1078


Why is c called a mid-level programming language?

1210


What is a rvalue?

1206


How does #define work?

1084


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2096


What is the difference between near, far and huge pointers?

1099


Explain can you assign a different address to an array tag?

1054


What are the disadvantages of external storage class?

1062


What are the disadvantages of a shell structure?

1355


What is class and object in c?

1124