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 18:30
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
question
Computers and Technology, 23.06.2019 22:30
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Which of the statements below describe the guidelines for the use of text in presentation programs? a. do not use numbered lists. b. fonts should be appropriate for your audience. c. limit the number of fonts you use to three or four. d. only use bulleted lists for sales promotions. e. select font sizes that are appropriate for your delivery method. f. use font colors that work well with your background. select all that apply
Answers: 1
question
Computers and Technology, 25.06.2019 08:30
Ais a modeling tool used in structured systems analysis and design (ssad) analysis model that break down a complex process into simpler, more manageable, and more understandable subprocesses
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
question
Mathematics, 28.08.2020 01:01
question
Mathematics, 28.08.2020 01:01
question
Mathematics, 28.08.2020 01:01
question
History, 28.08.2020 01:01
question
Geography, 28.08.2020 01:01
question
World Languages, 28.08.2020 01:01