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
Write a program that displays, 10 numbers per line, all the numbers from 100 to 200 that are divisible by 5 or 6, but not both.
FromTheMoon [43]

Answer & Explanation:

To print 10 on a line and each number separated by space; you make the following modifications.

print(str(i)+" ",end=' ')

str(i)-> represents the actual number to be printed

" "-> puts a space after the number is printed

end = ' ' -> allows printing to continue on the same line

if(count == 10):

     print(' ')

The above line checks if count variable is 10;

If yes, a blank is printed which allows printing to start on a new line;

The modified code is as follows (Also, see attachment for proper indentation)

count = 0

for i in range(100,201):

     if(i%6 == 0 and i%5!=0) or (i%5 ==0 and i%6!=0):

           print(str(i)+" ",end=' ')

           count = count + 1

           if(count == 10):

                 print(' ')

                 count = 0

7 0
4 years ago
What are the various types of views available for Word 2016?<br><br> a.<br><br> b.<br><br> c.
lora16 [44]

What are the various views available in MS Word?

Microsoft Word gives you five different views of a document, and each has its own advantages over the others. They are Print Layout, Full Screen Reading, Web Layout, Outline and Draft and you can guess what purpose some of them serve just by their names.

3 0
3 years ago
Hi! Can you guys help me with these Java programming questions?
olchik [2.2K]
5. Answer 4
6. Answer 2
7 0
4 years ago
________ allows visitors to add, remove, or edit its content.
liberstina [14]
That would be Wiki.......
6 0
3 years ago
What is the shortcut key to create a new desktop ​
Rom4ik [11]

Answer:

Win + Ctrl + D

Explanation:

Stay safe, stay healthy and blessed.

Have a good day !

Thank you

6 0
2 years ago
Read 2 more answers
Other questions:
  • Write a function named intro that takes a string as input.
    12·1 answer
  • How can an administrator force wireless clients to use a standard web browser to provide information, and require a user to agre
    10·1 answer
  • A custom information feel that helps users find a specific document is called
    7·1 answer
  • On Study Island, What do I do when the numbers don't show up?
    15·2 answers
  • (Shuffle rows) Write a method that shuffles the rows in a two-dimensional int array using the following header: public static vo
    12·1 answer
  • Why are computer manufacture constantly releases fast computer and do user benefit from ths speed
    9·1 answer
  • Cite an early photographic pioneer or invention. Explain their/its impact on photography as we know it today.
    14·1 answer
  • You're expecting visitors who will be demanding Mamet access Before they arrive, you can activate a Guest network that has its o
    11·1 answer
  • Software created according to user choice​ true or false
    5·1 answer
  • Im a beginner programmer. what languages should i learn and how do i get better
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!