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

What is the g value paradox?

641


What are register variables? What are the advantage of using register variables?

676


Is c easy to learn?

552


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

2225


What is #include called?

565






What's the difference between constant char *p and char * constant p?

651


What is the best organizational structure?

637


What is the role of this pointer?

545


Where are local variables stored in c?

568


How main function is called in c?

622


Explain what is a 'locale'?

581


What is assert and when would I use it?

573


How to create struct variables?

584


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

618


What are header files in c programming?

651