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
Scrat [10]
3 years ago
10

Assume that an int variable counter has already been declared. Assume further a variable counterPointer of type "pointer to int"

has also already been declared. Write a statement that makes counterPointer "point" to counter.
Computers and Technology
1 answer:
Triss [41]3 years ago
5 0

Answer:

Following are the statement:

counterPointer = &counter;

Explanation:

The following statement is correct because in the question it is given that there is an integer data type variable i.e., "counter" and there is another integer data type pointer variable i.e., "counterPointer" and finally we write a statement in which the pointer variable points to the integer variable.

You might be interested in
Prime numbers can be generated by an algorithm known as the Sieve of Eratosthenes. The algorithm for this procedure is presented
Sidana [21]

Answer:

const MAXNR=150;

let candidates = {};

for(let i=2; i<=MAXNR; i++) {

   candidates[i] = true;

}

for(let p=2; p <= MAXNR; p++) {

   if (candidates[p]) {

       process.stdout.write(`${p} `);

       // Now flag all multiples of p as false

       i=2;

       while(p*i <= MAXNR) {

           candidates[p*i] = false;

           i++;

       }

   }

}

4 0
2 years ago
In which phase of the software development life cycle is software tested in the same environment where it be used?
Keith_Richards [23]

Answer:

uhuuwuw

i

Explanation:

uuuuvgfbjfyrtrufuuuhuyh

4 0
2 years ago
Having a fair coin i.e. P(Head) = P(Tail) = 0.5, what is the probability of getting a sequence of 3 consecutive tails?
Andrews [41]

Answer:

Probability of getting 3 consecutive tails in a fair coin toss:-

P(E)=0.125

Explanation:

If we toss an unbiased coin exactly three time we can have 8 outputs possible and those outputs are as following:-

  1. HHH
  2. HHT
  3. HTH
  4. HTT
  5. THH
  6. THT
  7. TTH
  8. TTT

Out of these 8 outputs we have 1 favorable outcome that is TTT.So the probability of the event is P(E)=1/8

where 8 is total number of outcomes.

5 0
3 years ago
Files containing ____ are available from a variety of sources.
leonid [27]
Hello <span>Charlesreid9517 
</span><span>

Answer: Files containing graphics are available from a variety of sources


Hope This Helps
-Chris</span>
4 0
3 years ago
Read 2 more answers
a. The two programs perform the same function. Describe it. b. Which version performs better, and why
Ulleksa [173]

Programs are series of instructions interpreted by a computer

  • The description of the program is to compute the square of the difference between corresponding elements of two arrays
  • The better version of the program is program A.

<h3>How to describe the programs</h3>

From the programs, we have the following highlights

  • The program iterates from 1 to n - 1
  • The iteration calculates the difference between corresponding elements of the arrays
  • The difference is then squared

Hence, the description of the program is to compute the square of the difference between corresponding elements of two arrays

<h3>The better version</h3>

The better version of the program is program A.

This is so, because the program uses fewer instructions for the same task as program B

Read more about programs at:

brainly.com/question/16397886

3 0
2 years ago
Other questions:
  • ll of the following are extra precautions you can take to secure a wireless network EXCEPT ________. Select one: A. turn on secu
    9·1 answer
  • Write a statement that declares a PrintWriter reference variable named output and initializes it to a reference to a newly creat
    5·1 answer
  • Implement the function first chars() that takes a list of strings as a parameter and prints to the screen the first character of
    13·1 answer
  • 50 POINTS<br><br>Question linked in file below.
    5·1 answer
  • The file descriptor stderr is represented by the number ____.
    6·1 answer
  • Write a structure declaration to hold the following data about a savings account: Account Number (string object) Account Balance
    8·1 answer
  • What is modularity?
    9·1 answer
  • What does a hanging indent look like?
    7·1 answer
  • Becuase privacy is personal customers, where should your data privacy efforts align?
    13·1 answer
  • which endpoint application runs on an endpoint device that only detects an attack in an endpoint device? chqgg
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!