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

How can you find out how much memory is available?

608


What is hashing in c language?

603


What will the preprocessor do for a program?

578


What is a char in c?

550


Can include files be nested? How many levels deep can include files be nested?

649






What is a structure member in c?

536


write a c program for swapping two strings using pointer

2085


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

1693


Which control loop is recommended if you have to execute set of statements for fixed number of times?

803


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2017


Explain enumerated types in c language?

598


How do you list a file’s date and time?

622


What is a protocol in c?

552


What do you mean by dynamic memory allocation in c? What functions are used?

641


Why clrscr is used in c?

573