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

Write the definition of a function named swapints that is passed two int reference parameters. The function returns nothing but

exchanges the values of the two variables. So, if j and k have (respectively) the values 15 and 23, and the invocation swapints(j,k) is made, then upon return, the values of j and k will be 23 and 15 respectively.
Computers and Technology
1 answer:
Alja [10]3 years ago
3 0

Answer:

void swapints(int *j,int *k)//Function definition.

{

   *j=*j+*k-(*k=*j); //value swapping.

}

swapints(&j,&k);//call the function.

Explanation:

  • The above function definition takes the address of j and k variables which is stored on the pointer variable j and k.
  • Then the pointer variable uses the j and k value for the above expression, and the user does not need to return the value of j and k.
  • But when the user prints the value of the j and k variable, then he gets the swapping value of the j and k variable.
  • The user needs to know that the "int j" is a normal variable, but "int *j" is a pointer variable that is used to take the address of j variable.
You might be interested in
Select the correct navigational path to create a combination chart. Select the chart. Click the Chart Tools tab. Select the data
nydimaria [60]

Answer:

format and design

Explanation:

8 0
3 years ago
A network administrator is implementing multifactor authentication for employees who travel and use company devices remotely by
devlian [24]

Answer:

A networking administrator is a multi-factor authentication for employees who use company devices by using a VPN. The level of authentication is 802.1X and OTP.

Explanation:

Network administration is the computer network and uses multiple computers. A company and organization uses multiple computers and need a network admin to connect with a different system. Network administrators depend upon the organization. Some duties of the network administration are split and clearly defined such as

Configure the network hardware, servers, and routers

Upgrade the computer networks

Troubleshooting network issues

Assigning the network models

Deploying the software

Managing the servers

Implementing the security and measure

Network administration requires technical competence and will benefit as a network administrator.

For the level of authentication 802.1, X and OTP are suitable for network administration.

5 0
4 years ago
A page break can be prevented from being added before or after a heading by using the keyword _____ in the page-break-before or
Sedaia [141]

Answer:

avoid

Explanation:

<h2><u>Fill in the blank </u></h2>

A page break can be prevented from being added before or after a heading by using the keyword <u>avoid</u>  in the page-break-before or page-break-after properties.

3 0
3 years ago
File format extension for animation are. Swf,. Swl and _____
Sati [7]

Source from extension  , report layout extension for animation are,and graphics interchange format.

<h3>What is the report ?</h3>

It is layout which includes and primarily based totally animations. The complete abbreviation of is Small Web Format.

I assume the solution A.graphics interchange format. is the maximum accurate answer, it could be established from analyzing books and records on internet.

Read more about the animation :

brainly.com/question/18260878

#SPJ4

3 0
2 years ago
Paul Ehrlich update his early projections because his original ideas underestimated
jolli1 [7]

Answer:  The correct answer is :  They underestimated the resilience of the global system

Explanation:  Paul is a biologist from the United States well known for warning about the consequences of population growth and limited resources. His statement: The battle to feed all mankind is over. Affirming that in the 1970s they would starve to death despite the programs established to deal with emergencies. But this prediction proved to be incorrect.

8 0
3 years ago
Other questions:
  • These things are commonly found on the front of desktop computer cases:
    12·1 answer
  • Semiconductor memory is used mainly for primary storage even with its high cost. In another hand, the magnetic tape is the cheap
    9·2 answers
  • Write a story, a tale, a biography or a diary.
    14·1 answer
  • Which of the following commands would you use to start the program Main with four strings? a. java Main arg0 arg1 arg2 arg3 b. j
    11·1 answer
  • What is one major component that would not be found in a tablet or phone, and how has modern computing made that component less
    13·2 answers
  • Write a program that lets the user enter a nonnegative integer then uses a loop to calculate the factorial of that number. Displ
    11·1 answer
  • Besides earning money why do people work​
    6·2 answers
  • Whats your favorite .io game (example krunker.io, gawd.io)<br> (PS FWEE PTS BOIS)
    7·1 answer
  • Your friend decides to create a spreadsheet containing vocabulary terms and their definitions to help prepare for the unit test
    5·1 answer
  • a benefit of cloud computing is scaling up or down as demand for your services increases or decreases. the word that is most ass
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!