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
marysya [2.9K]
3 years ago
14

When a structure must be passed to a function, we can use pointers to constant data to get the performance of a call by ________

__ and the protection of a call by __________. Group of answer choices value, value reference, value value, reference reference, reference
Computers and Technology
1 answer:
andriy [413]3 years ago
8 0

Answer:

Reference value.

Explanation:

You might be interested in
Explain where and why metallic material or non metallic material have been used in your home​
Gnom [1K]

Answer:

Metallic and non-metallic material use for various purposes at home.

Explanation:

Metals play an essential role in our lives. They used while constructing houses as a support to it. It's also used for architectural (building) purposes include frames, pillars, water pipes, roofing, and windows. Copper used for making electrical wires. Aluminium for making electrical cables, packaging, and cooking utensils. Iron application, including roofing and decoration.

Metallic materials are inorganic substances such as iron, copper, aluminium. Non-metallic elements, such as carbon, nitrogen, and oxygen. Carbon used in the form of diamonds and graphite. Hydrogen is used daily as a gas.

4 0
4 years ago
Consider the following method:
Katen [24]

Answer:

See explaination

Explanation:

public class Main {

public static void main(String[] args) {

//execution starts from here so initializing the try block for erros

try{

Scanner keyboard = new Scanner(System.in);

System.out.print("Please enter a file name: ");

String name = keyboard.next();

//the line below throws file not found exception if the given file name is not found or unable to open

Scanner file = new Scanner(new File(name));

String line = file.nextLine();

int n = file.nextInt();

//the below print line function call throws ParameterNotAllowedException if n is zero

printLine(line, n);

}//all Exceptions potentially thrown

catch(InputMismatchException e){

System.out.println("User input type mismatch\n"+e);

}catch(FileNotFoundException e){

System.out.println("Given file name is wrong or does not match");

}catch(ParameterNotAllowedException e){

System.out.println("The n given to printLine must be more than zero");

}catch(IOException ex){

System.err.println("An IOException was caught!");

}

}

//method from above goes here.

public static void printLine(String line, int numberOfTimes) throws Exception {

if (numberOfTimes <=0)

throw new ParameterNotAllowedException("Error. invalid parameter.",numberOFTimes);

for( int i=0; i<numberOfTimes; i++)

System.out.println(line);

}

}

For the user written custom Exception ParameterNotAllowedException. We need to add an exceptional class.

Which is missing from the given info:

class ParameterNotAllowedException extends Exception

{

public ParameterNotAllowedException(String s,int n)

{

// Call constructor of parent Exception

super(s);

}

}

8 0
3 years ago
Read 2 more answers
This is not an appropriate business use for a wiki. editing corporate documents getting customer feedback project management pub
ivolga24 [154]

The correct answer is A: editing corporate documents.

Further Explanation:

The reason why editing corporate documents would not be an appropriate use of business for wiki would be that false information could be used. This would be released to customers and they would not have the correct information. Anyone can edit Wiki and this can cause confusion.

For business, all information released should be based on facts and researched information. There are numerous other web pages that can be used for a legitimate business purposes.

Learn more about Wiki at brainly.com/question/11936997

#LearnwithBrainly

7 0
3 years ago
Jane wants to type a math assignment involving percentages she wants to insert the percent symbol after typing a number which ke
borishaifa [10]
To type a percent symbol. Press shift+5.
8 0
3 years ago
Algorithm and flowchart to find the perimeter and area of square​
kupik [55]

Answer:

I can give you the perimeter "algorithm" but not the flowchart.

Here you go:

p = w * 4

p = perimiter,

w = width/height

4 = the amount of sides needed.

perimeter = width * 4

to include both width and height, we would instead use:

perimeter = 2(width+height)

This also works with rectangles ^

--------------------------------------------------------------------------

To find an area, it is just width * height. This is also compatible with rectangles.

4 0
3 years ago
Other questions:
  • Who are some of my emails not all deleting on my android i have to use my laptop to see them to delete them?
    12·2 answers
  • write a 〕ava program to sort a random list of 10 numbers entered b y user in an array using Selection Sort technique
    5·1 answer
  • You are setting up a desktop computer for an AutoCAD specialist who needs a minimum of 125GB of RAM. Which operating system belo
    6·1 answer
  • How to build a 5*32 decoder by using 3*8 and 2*4 decoders? (digital design)
    7·1 answer
  • What is the keyboard shortcut to display the merge to printer dialog box?
    5·1 answer
  • Write a program that gets a list of integers from input, and outputs the integers in ascending order (lowest to highest). The fi
    5·1 answer
  • Which of the following is not a key component of a structure?
    6·1 answer
  • List five applications field of a computer?​
    8·1 answer
  • Read the following scenario, and then decide if you should upgrade the computer. You have a desktop that you use primarily for w
    7·1 answer
  • I need help 50 points and brainiest if you answer
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!