1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Law Incorporation [45]
3 years ago
12

When you declare a variable of a basic, primitive type, such as int x = 10;, the memory address where x is located holds the ___

_.
a.
location in memory of 10

b.
memory address of 10

c.
reference to 10

d.
value of 10
Computers and Technology
2 answers:
Nadya [2.5K]3 years ago
8 0

Answer:

Answer is (d) value of 10

Explanation:

Usually when we write "int x=10;", a memory space is allocated for an integer variable with name x, and content 10.

Darya [45]3 years ago
5 0

Answer:

Option d is the correct answer for the above question.

Explanation:

In c,c++ or java programming language, when a user declares a variable then that means that a variable is used to take space in memory and When a user assigns the value on that variable then that value is stored on the location of variable in the memory and that variable addressed that value for compiler and memory.

The above question asked that if there are declaration and initialization of a variable then what is held by the variable in the memory. The answer is the value which stated by Option d, hence it is a correct option while other is not because--

  • Option 'a' states that the address holds the location of value but it holds the value.
  • Option b states that the address holds the memory location of value but it holds the value only.
  • Option c states that the address holds the reference value of a value but it holds the value only.

You might be interested in
Amd relive how to download it says not fully installed help plz
Zinaida [17]
It is not fully installed because of storage or memory is not enough to install this app.

Hope this helps you :)



6 0
4 years ago
Write the count below the rests. <br><br> How do I do I do this?<br> Help guys
leva [86]
Well 1234 for the first one
7 0
3 years ago
4) What is a desktop?​
DaniilM [7]
A desktop computer is a personal computer designed for regular use at a single location on or near a desk due to its size and power requirements.
3 0
1 year ago
When entering new data into your table, which key should you press to move from one field or cell to the next?
prohojiy [21]

Answer:

Tab key or Enter key is the correct answer.

Explanation:

When the user want to move from one cell to another cell or field then they use the tab key or enter key. If the user wants to fill data vertically then, they use Enter key to move one cell to another and id they wants to fill data horizontally then, they use Tab key to move on the next cell. So, that's why when they want to fill data in Row or Column then, they use tab key or enter key.

6 0
4 years ago
Whats with the bot spamming customer care numbers...kinda annoying when im trying to help people.
Norma-Jean [14]

Answer:

yes

Explanation:

5 0
3 years ago
Other questions:
  • What happens if you never confirm your facebook account?
    8·1 answer
  • Which security control is most helpful in protecting against eavesdropping on wireless LAN (WLAN) data transmissions that would
    6·1 answer
  • Give examples of two IP addresses (that are 100 IP addresses away from each other but the last octet is not greater than .150) t
    15·1 answer
  • this device can be used to type documents,send email,browse the internet,handle spreadsheets,do presentations,play games,and mor
    14·1 answer
  • A Linux-based OS is called a _____.
    9·1 answer
  • A network administrator is attempting to troubleshoot an issue regarding certificates on a secure website. During the troublesho
    8·1 answer
  • As you are learning a client’s programming needs, you realize the program will require an iteration of tasks, yet there are exce
    13·1 answer
  • Hello Answerers it would be great if you could answer this:
    12·2 answers
  • Type the correct answer in the box. Spell all words correctly.
    7·2 answers
  • Write a code segment that will store a dinner selection in option1 based on the values of rsvp and selection. The intended behav
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!