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 |
declare afunction pointer to int printf(char *)?
4)What would be the output? main() { int num=425; pf("%d",pf("%d",num)); } a)Comp error b)4425 c)4253 d)3435 e)none
a value that does not change during program execution a) variabe b) argument c) parameter d) none
Define circular linked list.
what is the output of the program?? #include<stdio.h> main ( ) { int a=010,sum=0,tracker: for(tracker=0;tracker<=a;tracker++) sum+=tracker; printf(ā %d\nā,sum); } what is the difference between a=10 and a=010??
the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i",i); return 0; }
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]
Write an algorithm for a program that receives an integer as input and outputs the product of of its digits. E.g. 1234 = 24, 705 = 0
What is bubble sort in c?
What functions are used in dynamic memory allocation in c?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?