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...

void main()

{

static int i=5;

if(--i){

main();

printf("%d ",i);

}

}

Answer Posted / susie

Answer :

0 0 0 0

Explanation:

The variable "I" is declared as static, hence memory for I
will be allocated for only once, as it encounters the
statement. The function main() will be called recursively
unless I becomes equal to 0, and since main() is recursively
called, so the value of static I ie., 0 will be printed
every time the control is returned.

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you relate the function with the structure? Explain with an appropriate example.

3517


Cluster head selection in Wireless Sensor Network using C programming language.

3809


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

4465


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2827


could you please send the program code for multiplying sparse matrix in c????

3624


how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.

2733


Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??

2540


What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?

4623


Write a program to model an exploding firecracker in the xy plane using a particle system

4206


Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines

3629


What is full form of PEPSI

2484


why nlogn is the lower limit of any sort algorithm?

2898


how to test pierrot divisor

2817


write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30

2759


write a program for area of circumference of shapes

2630