by jimyndiku on May 1st, 2006

jimyndiku

Question

Help answer this question below.

Why is the variable defined with "const" called a read-only variable?

Answers. 1 helpful answer below.

  • by tigueron on November 27th, 2006

    tigueron

    because it is a constant you can use its value but can't change it.

    So, in other words, you can read its value but not write in some other value, thus it is read-only.

    • Like
    • Report

    No comments. Post one | Permalink

Want to attach an image to your answer? Click here.

Did this answer your question? If not, then ask a new question or create a poll.

You're reading Why is the variable defined with "const" called a read-only variable?

Follow us on Facebook!

Related Ads

ANSWERBAG BUZZ

Freedom deep inxs