what is use of assingment statement
Answers
Answered by
4
Answer:
ɪɴ ᴄᴏᴍᴘᴜᴛᴇʀ ᴘʀᴏɢʀᴀᴍᴍɪɴɢ, ᴀɴ ᴀꜱꜱɪɢɴᴍᴇɴᴛ ꜱᴛᴀᴛᴇᴍᴇɴᴛ ꜱᴇᴛꜱ ᴀɴᴅ/ᴏʀ ʀᴇ-ꜱᴇᴛꜱ ᴛʜᴇ ᴠᴀʟᴜᴇ ꜱᴛᴏʀᴇᴅ ɪɴ ᴛʜᴇ ꜱᴛᴏʀᴀɢᴇ ʟᴏᴄᴀᴛɪᴏɴ(ꜱ) ᴅᴇɴᴏᴛᴇᴅ ʙʏ ᴀ ᴠᴀʀɪᴀʙʟᴇ ɴᴀᴍᴇ; ɪɴ ᴏᴛʜᴇʀ ᴡᴏʀᴅꜱ, ɪᴛ ᴄᴏᴘɪᴇꜱ ᴀ ᴠᴀʟᴜᴇ ɪɴᴛᴏ ᴛʜᴇ ᴠᴀʀɪᴀʙʟᴇ. ɪɴ ᴍᴏꜱᴛ ɪᴍᴘᴇʀᴀᴛɪᴠᴇ ᴘʀᴏɢʀᴀᴍᴍɪɴɢ ʟᴀɴɢᴜᴀɢᴇꜱ, ᴛʜᴇ ᴀꜱꜱɪɢɴᴍᴇɴᴛ ꜱᴛᴀᴛᴇᴍᴇɴᴛ (ᴏʀ ᴇxᴘʀᴇꜱꜱɪᴏɴ) ɪꜱ ᴀ ꜰᴜɴᴅᴀᴍᴇɴᴛᴀʟ ᴄᴏɴꜱᴛʀᴜᴄᴛ.
Answered by
124
In computer programming, an assignment statement sets and/or re-sets the value stored in the storage location(s) denoted by a variable name; in other words, it copies a value into the variable. In most imperative programming languages, the assignment statement (or expression) is a fundamental construct.
Similar questions