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
Alex73 [517]
3 years ago
15

Conside following prototype of a function

Computers and Technology
1 answer:
Sergeeva-Olga [200]3 years ago
7 0

Answer:

The answer is "Option a"

Explanation:

Following are the code to this question:

#include <stdio.h>//header file

int minArray(int x[], int n)//defining method minArray that accepts two parameters

{

   for(int i=0;i<n;i++)//defining loop for print value

   {

    printf("%d\n",x[i]);//printf array value

   }

}

int main()//defining main method

{

int x[] ={7,4,6,2,3};//defining array that hold values

int n=5;//defining integer variable

minArray(x,5);//calling method minArray

return 0;

}

In this code, a method "minArray" is defined, that accepts two parameters array and an integer variable in its parameter, and in the next step, the for loop is declared, that uses the print method to prints its value.

In the next step, the main method is declared, which declared an array and holds its values and defines an integer variables, and calls the method "minArray".

You might be interested in
What is the simplest way to permanently get rid of an unwanted file? A. Go to the Start menu and then delete the file. B. Erase
vazorg [7]

C. Send it to the recycle bin and empty the recycle bin
7 0
4 years ago
(50 points) Write a programthat adds the first and last elements of an integer array and stored as the first element of the outp
Elena L [17]

Answer:

A is the input array

B = [] ; %B is initially an empty array

for i = 1:length(A)/2  %iterates over A until the midpoint of A

   B(i) = A(i) + A(end + 1 - i);  %This adds the numbers from the first half and %second half of A, and stores in B

end

disp(B)

3 0
4 years ago
Microsoft issued the Windows ME operating system. What was the impact of this 'rush to market' software product on users and Mic
Murrr4er [49]

Answer:

The answer is below

Explanation:

Windows ME which originally meant Windows Millennium Edition. It was released in 2000. However, due to its poor functionality and efficiency, it appeared like it was rushed on the part of Microsoft to release the latest Operating System at the time. This led to some impacts on both the users and Microsoft.

1. On the Users' part: it was considered the most hated edition. Some even renamed it "Windows Mistake Edition." Users quickly dumped it for a later edition of Microsoft OS which was "Windows XP."

2. On Microsoft's part: it badly affected their reputation in the market at that period. It was the launch of Windows XP and later window 7 that revived the good reputation of Microsoft going forward.

3 0
3 years ago
The________ format is usually used to store data
Nikitich [7]
The answer is BCD; The BCD format is usually used to store data
5 0
3 years ago
What is the best way to describe how your voice should sound when you read a story out loud
umka21 [38]
Full of emotion and not like a robot 
3 0
4 years ago
Other questions:
  • When you see ##### in a cell, you should A. increase the cell width. B. increase the cell height. C. decrease the cell width. D.
    14·1 answer
  • An excel file called “student_gpa” is opened. What does the funnel next to “GPA” indicate
    5·1 answer
  • Ziffcorp, an it firm, uses a technology that automatically updates the antivirus software in all the computers in the firm whene
    13·1 answer
  • What statement should you use to print the value of total with a precision of 5 digits?
    7·1 answer
  • Lucy wants to develop a web page to display her profile. She wants to just start with a basic page that lists her accomplishment
    13·1 answer
  • Fred has to write a report on the general opinion of the influence of television on political decision-making. What internet res
    11·2 answers
  • Whats important about the points?
    10·2 answers
  • Which of the following is used to move to end of the row?​
    8·1 answer
  • Look at the network topology. What will happen with the other computers if the computer breaks at the RED X?
    8·1 answer
  • Database queries is an example of
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!