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
Is there a built-in function in C that can be used for sorting data?
List a few unconditional control statement in c.
How do you define a string?
What are enums in c?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What are pointers in C? Give an example where to illustrate their significance.
What happens if a header file is included twice?
what are # pragma staments?
What is identifiers in c with examples?
What language is c written?
What is array of structure in c programming?
Is register a keyword in c?
What is the significance of scope resolution operator?
What is s or c?
What is infinite loop?