subject

What is the effect of this program?
#define max 50
int a[max], i, j, temp;
for(i = 0; i < max / 2; + + i)
{
temp = a[i];
a[i] = a[max - i -1];
a[max - i - 1] =temp;
}
a. arranges the elements of array a inascending order
b. counts the numbers of elements of agreater than its first element
c. reverses the numbers stored in thearray
d. puts the largest value in the last arrayposition
e. none of the above

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:00
Write a method that takes in an array of point2d objects, and then analyzes the dataset to find points that are close together. be sure to review the point2d api. in your method, if the distance between any pair of points is less than 10, display the distance and the (x,y)s of each point. for example, "the distance between (3,5) and (8,9) is 6.40312." the complete api for the point2d adt may be viewed at ~pf/sedgewick-wayne/algs4/documentation/point2d.html (links to an external site.)links to an external site.. try to write your program directly from the api - do not review the adt's source code.
Answers: 1
question
Computers and Technology, 24.06.2019 20:30
⭐️⭐️⭐️ what network is larger in size? man or wan? you ⭐️⭐️⭐️
Answers: 2
question
Computers and Technology, 25.06.2019 02:00
Software and services are used to conceive, plan, and execute projects in any field. these tools are excellent methods of increasing the probability of successful projects. open source linux project management mind-mapping
Answers: 2
question
Computers and Technology, 25.06.2019 08:10
A(n) is a step-by-step direction for performing a specific task, which is written in a language the computer can understand.servercachearrayprogram
Answers: 1
You know the right answer?
What is the effect of this program?
#define max 50
int a[max], i, j, temp;
for(i...
Questions
Questions on the website: 13722360