Answer:
The program to this question can be given as:
Program:
#include <iostream> //header file
using namespace std; //using namespace.
void SwapValues(int* userVal1, int* userVal2); //function declaration.
void SwapValues(int* userVal1, int* userVal2) //function definition.
{ //function body.
//perform swapping
int t = *userVal1;
*userVal1 = *userVal2;
*userVal2 = t;
}
int main() //main method
{
int n1, n2; //define variable
cout<<"Enter first number :"; //message
cin>>n1; //input by user.
cout<<"Enter second number :"; //message
cin>>n2; //input by user.
SwapValues(&n1,&n2); //calling function.
cout<<"Swapped values"<<endl;
cout<<"first number is :"<<n1<<endl; //print value
cout<<"second number is:"<<n2<<endl; //print value
return 0;
}
Output:
Enter first number :3
Enter second number :8
Swapped values
first number is :8
second number is :3
Explanation:
The description of the above C++ language program can be given as:
- In the program, firstly we include the header file. Then we declare and define a function that is "SwapValues()" function in the function we pass two integer variable that is "userVal1 and userVal2" inside a function, we define an integer variable that is "t" and perform swapping.
- Then we define the main function in the main function we define two variables that is "n1 and n2" this variable is used to take value-form user. then we pass this value to function and print the function values.
The FASTEST way to transfer a good file to the computer is to use the C$ administrative share to copy the file.
<h3>What is C$ administrative share?</h3>
The c$ share is known to be a kind of an administrative share that is often known to be the cluster or SVM administrator that a person can be able to can use to be able to go through and manage the SVM root volume.
Note that The characteristics of the c$ share are the path for this kind of admin. share is known to be always the path to the SVM root volume and it is one that a person cannot modify.
Hence, based on the above, the The FASTEST way to transfer a good file to the computer is to use the C$ administrative share to copy the file.
Learn more about file share from
brainly.com/question/15267859
#SPJ1
Answer:
Visual Basic is the appropriate answer for the following blank.
Explanation:
Visual Basic is a language based on real events of a third generation for the Module Object model coding model that was originally published and declared legacy in 2008.
- In an easy to use graphical environment programmers can create a visual basic programming language for software interfaces and codes. VB is the collection of different components used with the help of the forms with specific characteristics and actions.
I believe it is D. The Central Processing Unit (CPU) can manage memory and storage. It also makes sure every program has what it needs to keep it up and running.