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

54321

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain setjmp()?

649


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1488


What are the features of the c language?

636


What is a pointer variable in c language?

637


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

3493






Is r written in c?

718


What are the modifiers available in c programming language?

725


write a proram to reverse the string using switch case?

2456


Can you subtract pointers from each other? Why would you?

551


What is an operator?

650


Where local variables are stored in c?

548


What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

668


What is || operator and how does it function in a program?

620


write a program to create a sparse matrix using dynamic memory allocation.

4363


Why is it that not all header files are declared in every C program?

670