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

----2nd Ans----

Start
Step 1-> Declare function to convert celsius to fahrenheit
float convert (float celsius)
declare float fahrenheit
set fahrenheit = celsius * (9/5) + 32
return fahrenheit
Step 2-> In main()
declare and set float celsius = 38.00
call convert(celsius)
Stop

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you obtain the current time and difference between two times?

1295


What is the difference between printf and scanf )?

1098


How can I read data from data files with particular formats?

1048


What is typedef struct in c?

1051


What is c programing language?

1087


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1859


Why is structure important for a child?

1105


explain what is fifo?

1078


Which header file is essential for using strcmp function?

1484


When is the “void” keyword used in a function?

1506


What is class and object in c?

1124


what is uses of .net

1742


What is a program flowchart and how does it help in writing a program?

1142


Explain what standard functions are available to manipulate strings?

1077


What is the difference between far and near in c?

1071