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
Ksenya-84 [330]
3 years ago
9

When a function accepts multiple arguments, does it matter in what order the arguments

Computers and Technology
1 answer:
Marina CMI [18]3 years ago
7 0

Answer:

yes, it matter in what order the arguments  are passed.

Explanation:

when we define the function in the programming, you have to call the function as well.

In the calling function, we passed the arguments.

In the define function, parameters in declare for taking a copy of the arguments.

for example:

int print(int value, double price, char a){

    statement;

}

//calling

print(5, 7.8, 'a');

So, in the calling function the order of the argument changed, it gives the compile error.

because 5 is the integer, so you have to store in the int parameter.

print(7.8, 5, 'a'): if we try to do that, 7.8 which is double store in the wrong integer parameter, it gives the wrong output.

similarly, if we define the array in the parameter and pass the integer in the argument on the same location. it gives the compile error.

Therefore, the location must be the same.

You might be interested in
You should use a ____ chart to compare values side by side, broken down by category.
Zinaida [17]
You should use a BAR chart to compare values side by side, broken down by category.
7 0
3 years ago
In the early days of photography, cameras were limited to professional photographers because of the knowledge needed to work the
FinnZ [79.3K]
True they had to be developed in a special way in a dark room with several chemicals. 
3 0
4 years ago
Read 2 more answers
What is nuclear family system​
KonstantinChe [14]

Answer:

A family unit consisting of a mother and father and their children. Nuclear family is defined as parents and their minor children who are living under one roof. An example of a nuclear family is a mom, dad and their kids.

4 0
3 years ago
Read 2 more answers
A ___ is a mobile device that typically ranges from seven to ten inches in size.
Ber [7]

A tablet computer, or commonly known as tablet,  is a mobile device that typically ranges from seven to ten inches in size. It has mobile operating system and LCD touchscreen display processing circuitry. The touchscreen display is operated by  finger. The tablet has many all of the functionalities of a computer, but not all of them.


3 0
4 years ago
An update anomaly can occur if A. an instance of the same data is stored in two or more places in the database. B. a data elemen
zalisa [80]

Answer:

A. an instance of the same data is stored in two or more places in the database.

Explanation:

Giving that Update Anomalies usually occur when the designated user person in keeping records or record master stored a particular data in more than one in a database. This is what is called duplication of data and is termed an irregularity on the part of the record keeper.

Hence, the correct answer to the question is " A. an instance of the same data is stored in two or more places in the database."

5 0
3 years ago
Other questions:
  • As referenced in this Canvas guide (Links to an external site.), Canvas is best viewed at a minimum of 800x600 pixels, which is
    5·1 answer
  • Which view of data deals with how the data is actually formatted and located? physical view logical view information view techni
    12·1 answer
  • The ____ layer protocols are the rules for implementing end-user services provided by a network. Transport Application Physical
    11·1 answer
  • Which line of code will print I like to code on the screen? print("I like to code") print(I like to code) print("I LIKE TO CODE"
    5·2 answers
  • Using ________ data mining, the user usually begins by telling the data mining software to look and test for specific patterns a
    15·1 answer
  • Which is a characteristic of multimedia systems?
    7·1 answer
  • Write a C class, Flower, that has three member variables of type string, int, and float, which respectively represent the name o
    12·1 answer
  • Through the use of computational thinking techniques, models and algorithms can be created. A(n) ___1___ can be created that rep
    12·2 answers
  • Match the elements used in web searches to their functions.
    12·1 answer
  • Time management is the ability to use time effectively.
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!