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

How do you define a string?

876


What are the different types of control structures in programming?

902


What is the difference between printf and scanf in c?

1034


What are the rules for identifiers in c?

838


What is a program flowchart and how does it help in writing a program?

923


What is abstract data structure in c?

787


What should malloc(0) do?

841


What oops means?

772


What is conio h in c?

829


How #define works?

868


regarding pointers concept

1827


What is a lvalue

883


Do you know pointer in c?

831


Do string constants represent numerical values?

1162


What is boolean in c?

843