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
SashulF [63]
4 years ago
15

ZeroIt is a function that takes one argument and returns no value. The argument is a pointer to int. The function stores the val

ue 0 back into the variable pointed to by the argument. x is an int variable that has been declared.
Write a statement that sets the value stored in x to zero by invoking the function zeroIt.
Computers and Technology
1 answer:
Sedbober [7]4 years ago
7 0

Answer:

zeroIt(&x);

Explanation:

The statement that sets the value stored in x to zero by invoking the function zerolt is given below

zeroIt(&x);

The zeroIt function is also given below for better understanding.

void zeroIt(int *x) {

   *x = 0;

}

As seen, the function takes an argument with integer variable type, which is a pointer, denoted by the asterisk symbol (*x).

The ampersan sign (&x) is used to access the variable whose value can then be stored.

You might be interested in
13. You're emailing your grandparents. Which of the following is the best example of digital etiquette?
lorasvet [3.4K]
D. spelling out words and avoiding slang
6 0
2 years ago
Read 2 more answers
python An instance variable named counter of type int An instance variable named limit of type int. A constructor that takes two
Marianna [84]

Answer:

class Counter:

def __init__(self, counter, limit):

self.counter = counter

self.limit = limit

def increment(self):

if self.counter < self.limit:

self.counter += 1

def decrement(self):

if self.counter > 0:

self.counter -= 1

def get_value(self):

return self.counter

5 0
4 years ago
Compare the strengths and limitations of modern computer programming <br> languages.
DENIUS [597]

The strengths and limitations of modern computer programming languages.

  • It make use of a translation free.
  • It has has High speed.
  • It is Machine dependent.
  • It is Hard to learn, etc.

<h3>What are the limitations of programming languages?</h3>

A C programming language is one which cannot be able to detect errors for all the line of coding.

Note that it tends to check the bugs after the total coding is done. It is one that do not need to show the namespace property. C programming is one that is said to possess an insufficient level that can be used for data abstraction.

Hence, The strengths and limitations of modern computer programming languages.

  • It make use of a translation free.
  • It has has High speed.
  • It is Machine dependent.
  • It is Hard to learn, etc.

Learn more about computer programming from

brainly.com/question/797477

#SPJ1

7 0
2 years ago
Question B_1 (15 points) Please define (describe) local variables and how they are used in computer programming ( e.g. In C, C )
OverLord2011 [107]

Answer and Explanation:

Static variables are variables that still maintain their values outside the score which they are declared. They are declared with the static keyword

Example:

<em>static int score = 30;</em>

Local variables are variables whose scope are restricted to a block. Their values are restricted to the block which they are declared in.

Example:

<em>void abd(){</em>

<em>int score;</em>

<em>}</em>

<em>score is a local variable to abcd() function</em>

5 0
4 years ago
To create nested lists within each of these topical areas that would contain links to specific pages on the AllStyles website. I
Gwar [14]

Answer:

The answer is add a new list within a list.

Explanation:

Because a nested list is a list within a list. It is the same effect of a bulleted outline in a word processing document you probably used a variety of indentations and bullet point types to denote items that were subpoints of another item in the outline.

7 0
3 years ago
Other questions:
  • B. Write a function that takes one double parameter, and returns a char. The parameter represents a grade, and the char represen
    7·1 answer
  • When Nathanil Inc, a network service provider, introduced 4G data plans, it observed that most of its customers completely stopp
    9·1 answer
  • Alisha's teacher usually includes lots of comments on student tests to help them understand why their answers were
    8·2 answers
  • Do {
    12·1 answer
  • Use a recursion tree to determine a good asymptotic upper bound on the recurrence T(n) = 4T(n/2 + 2) + n. Use the substitution m
    5·1 answer
  • Which type of computer network ensures high security
    10·1 answer
  • Mention any three features of an antivirus software? ​
    5·1 answer
  • When you open your word-processing program, it opens in a<br> field<br> menu
    9·2 answers
  • Elliott is trying to normalize a database that he has designed. Which is not one of the elements of 1NF or 2NF?
    15·1 answer
  • Which of the following factors is most likely to result in low shipping and handling costs? A higher than average hourly pay rat
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!