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
Vadim26 [7]
3 years ago
6

Suppose that f is a function with a prototype like this: void f(________ head_ptr); // Precondition: head_ptr is a head pointer

for a linked list. // Postcondition: The function f has done some computation with // the linked list, but the list itself is unchanged. What is the best data type for head_ptr in this function?
Computers and Technology
1 answer:
AlekseyPX3 years ago
4 0

Answer:

node*

Explanation:

The argument 'head_ptr' is the head-pointer for the following linked list so the data type of the following argument 'head_ptr' is 'node*' in the method 'f()' because the following method 'f()' computed the linked list, but perhaps the list itself remains unaffected.

A linked list is the DS type in which that component would be a different entity. Such component of the following list is called as a node that consists of two elements

You might be interested in
Blender questions
Tamiku [17]
<span>14. A mesh represents a(n) _____ object if its faces enclose a positive and finite amount of space. (1 point)

odd

connected

simple

convex



15. Which of the following is the 3-D view port? (1 point)

the standard layout used for new files

the polygon viewing on the default screen

straight line segments connecting two vertices

a single static image in 3-D

The answer for number 1, should be:
SOLID
</span><span>A mesh represents a solid object if its faces enclose a positive and finite amount of space
</span>
The answer for the second question is:
a single static image in 3-D
4 0
3 years ago
Read 2 more answers
The political spectrum spans from Communism on the extreme left to __________ on the extreme right. /8178757/1f6bdbf3?utm_source
Delvig [45]
If the options are: <span><span><span>A.Socialism, </span><span>B.Liberalism, </span><span>C.Anarchism, </span>D.Conservatism, then the answer is D. Conservatism. I can see that some people have previously answered Anarchism. But it can't be the right answer because anarchism does not advocate either leftist or rightist politics - it advocates stateless politics. On the other hand, both left-wing and right-wing politics operate within the conventional field of states and governments. Now, communism is the extreme leftist position of egalitarianism, that is social equality, without private property. On the other hand, conservatism advocates social hierarchies and inequality as a natural order of society. Liberalism isn't the answer either because it isn't a rightist political option.</span></span>
6 0
3 years ago
Read 2 more answers
How many lines of codes did the windows 98 operating system contain
stellarik [79]
<span>The Windows 98 operating system contains approximately 13 million lines of code.</span>
8 0
3 years ago
Read 2 more answers
Activity
ch4aika [34]

Answer:

The answer to this question is given below in the explanation section.

Explanation:

This question is about creating a table using a spreadsheet program to record how many t-shirt each team member sold.

The spreadsheet file is attached.    

Download xlsx
3 0
3 years ago
Which option distinguishes the concept of project development being most directly impacted in the following scenario? The new wa
Art [367]
<span>safety 

Sewers are made to bring waste and other trash to somewhere more safe to dispose of, and if the sewage backup had a problem, that would mean that it would be a safety hazard to the inhabitants in the area

hope this helps</span>
3 0
3 years ago
Read 2 more answers
Other questions:
  • Write a series of conditional tests. Print a statement describing each test and your prediction for the results of each test. Fo
    5·1 answer
  • Place the steps in order to link and place text into the document outline, effectively creating a master document.
    8·1 answer
  • You plan to use the Fill Down feature on a formula and you need to keep a cell reference the same. Which of the following format
    15·2 answers
  • How to change color of object in photoshop?
    10·2 answers
  • / Looks up author of selected books
    15·1 answer
  • If you have defined a class named SavingsAccount with a public static data member named numberOfAccounts, and created a SavingsA
    7·1 answer
  • Hi All,
    12·2 answers
  • Three different numbers need to be placed in order from least to greatest. For example, if the numbers are ordered 9, 16, 4, the
    9·1 answer
  • You looked at the methods used to determine database requirements. Now, research and find a database requirements template. Choo
    9·1 answer
  • A malicious actor is preparing a script to run with an excel spreadsheet as soon as the target opens the file. the script includ
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!