Question

In C programming, how many values can a variable take on over the entire duration of...

In C programming, how many values can a variable take on over the entire duration of a run?

0 0
Add a comment Improve this question Transcribed image text
Answer #1
The name variable itself defines that something, which can have varying values.. Hence a variable can take any number of values in the complete lifespan, however, it can only contain one value at a time.. an example is below:

int a = 10; // value is 10 now.

a = 20; // value gets changed to 20.. Old value is vanished now.
**************************************************

Thanks for your question. We try our best to help you with detailed answers, But in any case, if you need any modification or have a query/issue with respect to above answer, Please ask that in the comment section. We will surely try to address your query ASAP and resolve the issue.

Please consider providing a thumbs up to this question if it helps you. by Doing that, You will help other students, who are facing similar issue.

Add a comment
Know the answer?
Add Answer to:
In C programming, how many values can a variable take on over the entire duration of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT