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 |
hi send me sample aptitude papers of cts?
which will be first in c compiling ,linking or compiling ,debugging.
What is stack in c?
write a program that uses point of sale system. which are mainly used by retail markets, where the is a database inventory list, a slip should be printed for the customer. manage should be able to access what has been sold and what is left from stock?
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]
find a number whether it is even or odd without using any control structures and relational operators?
22 Answers Microsoft, Shashank Private Limited,
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
#include<stdio.h> void main() { int a=10,b=20,c=30; printf("%d",scanf("%d%d%d",&a,&b,&c)); } what is the output for this?
What do you mean by scope of a variable in c?
What is the use of a conditional inclusion statement in C?
what is difference between declaring the pointer as int and char in c language?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode