- #1
porums
- 27
- 0
I am a novice to computer C programming,
here the progrm:
int main()
{
int x;
cin>>x;
int y1=6*x; //[1]
int y2=5*x; //[2]
cout<<y1<<y2;
}
which [1] or [2] is evaluated first or equally evaluatd at the same time?
here the progrm:
int main()
{
int x;
cin>>x;
int y1=6*x; //[1]
int y2=5*x; //[2]
cout<<y1<<y2;
}
which [1] or [2] is evaluated first or equally evaluatd at the same time?