What's a "sequence point"?

Answer Posted / varshil shah

A sequence point in imperative programming defines any point
in a computer program's execution at which it is guaranteed
that all side effects of previous evaluations will have been
performed, and no side effects from subsequent evaluations
have yet been performed. They are often mentioned in
reference to C and C++, because the result of some
expressions can depend on the order of evaluation of their
subexpressions. Adding one or more sequence points is one
method of ensuring a consistent result, because this
restricts the possible orders of evaluation.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Was 2000 a leap year?

632


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

654


What is the size of enum in c?

621


What are void pointers in c?

574


in iso what are the common technological language?

1637






What is the meaning of ?

620


What is #include in c?

600


What is I ++ in c programming?

626


In c language can we compile a program without main() function?

580


Explain the term printf() and scanf() used in c language?

597


What are the advantages and disadvantages of pointers?

578


What is the benefit of using #define to declare a constant?

607


Explain how can I make sure that my program is the only one accessing a file?

625


What is c system32 taskhostw exe?

591


What is 'bus error'?

647