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]
2 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]2 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]2 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
Here is the model I’m working on and can’t figure it out this model shows the basic process of making a protein what are the str
kolbaska11 [484]

It  does look like a model

Hope it helps I mean just my opinion.

8 0
3 years ago
Read 2 more answers
____ 59. Suppose that x and y are int variables, ch is a char variable, and the input is: 4 2 A 12 Choose the values of x, y, an
Vlada [557]

Answer:

d. This statement results in input failure.

Explanation:

We are taking input of 3 variables only and those are x,ch,and y. cin is a C++ keyword used take input entered by the user onto the screen cin is not a variable.

The input should of type int char int as written in the code. First is x and character variable ch and then the integer variable y and there should be only three inputs.

8 0
3 years ago
Read 2 more answers
13. Which Windows feature allows users to control software operations by clicking and pointing with a mouse?
Thepotemich [5.8K]
The correct answer is option D.
i.e. graphic user interface allows users to control software operations by clicking and pointing with a mouse.

GUI is a type of interface that allows the user to interact through computer graphics.
8 0
3 years ago
Both successors to C++, _____ , by Sun Microsystems, and _______, by rival MicroSoft, are very similar.
Tanzania [10]

Answer: Java and Forth

Explanation:

   C ++ and Java are comparatively similar language which are composed statically, unequivocally, and obviously. Both language are the object-oriented and planned with the semi-interpretation and run-time during the compilation of the time.

Both uses the curly braces and also they are very similar language as compared with c# and c. Both the successors in the C++ , java and sun micro-system are similar in terms of Microsoft.

 

8 0
3 years ago
Plsss help me<br><br>1)give 2 examples of systems that you use or see in your day-to-day life​
Gnoma [55]

Answer:

The modern world has numerous kinds of systems that influence daily life. Some examples include transport systems; solar systems; telephone systems; the Dewey Decimal System; weapons systems; ecological systems; space systems; etc.

5 0
2 years ago
Other questions:
  • Which Internet resource can you use to publicly describe an adventure trip you recently made?
    9·1 answer
  • Over time, programming languages have evolved in phases called ________.
    5·2 answers
  • Minimalism is a major movement in postmodern art. O True O False
    14·1 answer
  • How has the use of computers impacted business
    13·2 answers
  • 2. Which of the following best describes the protocols used on the Internet?
    15·1 answer
  • Which is an advantage that electronic scheduling tools have over paper calendars?
    13·2 answers
  • Which of the following statements are true about quick sort
    12·1 answer
  • What is one of the benefits of using templates for your email marketing campaigns?
    10·1 answer
  • The following code accomplishes which of the tasks written below? Assume list is an int array that stores positive int values on
    9·1 answer
  • Most of the Desktop games contain a backdoor used to test and update the game.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!