Question
C programming I can't seem to wrap my head around this concept of value and effect when dealing with expressions and assignment in C programming:
C programming
I can't seem to wrap my head around this concept of "value and effect" when dealing with expressions and assignment in C programming:
We're asked questions like:
-
What is the value and effect of the following expression? Answer this in the form of Value: , and Effect:
Example of this is
float y: Value: 1.3333
y = 4.0/3; Effect: 1.3333 ---> y
Some I've made up:
Int z = 4; Value:________?
z++; Effect:________?
Another one:
Int z = 4; Value: ________?
++z; Effect:________?
If someone could explain this in detail, I'd really appreciate it! Thank you!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started