What's a "sequence point"?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
what is a void pointer?
Write a program to show the change in position of a cursor using c
How can I do serial ("comm") port I/O?
fn f(x) { if(x<=0) return; else f(x-1)+x; }
What’s a signal? Explain what do I use signals for?
Why c is called free form language?
Write the Program to reverse a string using pointers.
Can a pointer be volatile in c?
What does c mean?
What are high level languages like C and FORTRAN also known as?
what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }
hi send me sample aptitude papers of cts?