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

What are the standard predefined macros?

625


Are pointers really faster than arrays?

552


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

1631


When is a “switch” statement preferable over an “if” statement?

638


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

646






For what purpose null pointer used?

599


Where in memory are my variables stored?

622


What’s the special use of UNIONS?

648


What does c value mean?

613


What is the right type to use for boolean values in c?

572


Explain how can I pad a string to a known length?

637


Whats s or c mean?

583


What does typeof return in c?

631


Explain the use of function toupper() with and example code?

644


Why & is used in c?

698