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

 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1954


explain what are pointers?

794


When should volatile modifier be used?

750


How is = symbol different from == symbol in c programming?

813


What is c standard library?

911


Is fortran still used today?

803


using for loop sum 2 number of any 4 digit number in c language

1996


What are two dimensional arrays alternatively called as?

945


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

2156


How is a pointer variable declared?

786


Explain how do you determine whether to use a stream function or a low-level function?

846


Explain the difference between #include "..." And #include <...> In c?

797


Can you please explain the difference between syntax vs logical error?

924


What is extern c used for?

768


What is c value paradox explain?

798