What's a "sequence point"?

Answers were Sorted based on User's Feedback



What's a "sequence point"?..

Answer / sujith

A sequence point defines any point in a 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.

Is This Answer Correct ?    7 Yes 0 No

What's a "sequence point"?..

Answer / guest

The point (at the end of a full expression, or at the ||, &&,
?:, or comma operators, or just before a function call) at
which all side effects are guaranteed to be complete.

Is This Answer Correct ?    1 Yes 0 No

What's a "sequence point"?..

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

More C Interview Questions

what is the difference between strcpy() and memcpy() function?

2 Answers  


How can I call a function with an argument list built up at run time?

0 Answers  


Explain what is the use of a semicolon (;) at the end of every program statement?

0 Answers  


What is getch() function?

0 Answers  


define function

4 Answers   Assurgent, Sonata,






How can my program discover the complete pathname to the executable from which it was invoked?

0 Answers  


How can I delete a file?

0 Answers  


c program to compute AREA under integral

0 Answers   Infosys,


What is the meaning of int *x[]();?

1 Answers  


Write a program to generate random numbers in c?

0 Answers  


How can a number be converted to a string?

1 Answers  


What is a program flowchart?

0 Answers  


Categories