What is the output of below code?
main() { static int a=5; printf("%3d",a--); if(a) main(); }

Answer Posted / vikas

output is 5 4 3 2 1

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does s c mean in text?

605


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

620


Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?

564


Did c have any year 2000 problems?

649


application attempts to perform an operation?

1489






Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

596


What is #pragma statements?

583


What is enumerated data type in c?

617


what are non standard function in c

1431


All technical questions

1505


Is it better to bitshift a value than to multiply by 2?

654


How many types of errors are there in c language? Explain

565


What is C language ?

1524


What is a header file?

633


What is pointer to pointer in c language?

593