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
marshall27 [118]
3 years ago
5

Function templates ___________.

Computers and Technology
1 answer:
azamat3 years ago
3 0

Answer:

Option B. can be overloaded

Explanation:

These functions can be overloaded, it means that  we can have functions with the same name as long as the types or the number or the arguments are different.  A function template can be overloaded in two ways: with other function templates or with normal functions.

A normal function has not relation to a function template, it is not considered an specialization.

You might be interested in
3. Program to find the sum of all even numbers from m to n, where m and n
Gnom [1K]

Answer: M and E

Explanation: Hope this helps

8 0
3 years ago
write a while loop that reads integers from input and calculates integer finalnum as follows: if the input is divisible by 5, ad
ira [324]

The while loop for the program that reads integers from input and calculates integer is illustrated thus:

#include <iostream>

using namespace std;

int main()

{

//declaring the variables

int userInput;

int outputVal;

outputVal = -19;

//take user input

cin >> userInput;

//take user input until negative input is given

while(userInput > 0)

{

 //if the input is divisible by 5, subtract the

 //input divided by 5 from outputVal

 if(userInput%5==0)

     outputVal -= userInput/5;  

 //if the input is not divisible by 5, add the

 //input multiplied by 5 from outputVal

  else

     outputVal += userInput*5;

   cin >> userInput; // take input

}

//print the output value

  cout << "Output value is " << outputVal << endl;

return 0;

<h3>What is a while loop?</h3>

A while loop is a control flow statement in most computer programming languages that allows code to be performed repeatedly based on a supplied Boolean condition. The while loop is similar to a looping if statement.

A "While" Loop is used to iterate over a certain block of code until a condition is met. If we wish to ask a user for a number between 1 and 10, we don't know how many times the user may enter a larger number, so we keep asking "while the number is not between 1 and 10."

Learn more about program on:

brainly.com/question/22654163

#SPJ1

7 0
1 year ago
Is Flip book drawings, frame by frame (need great drawing skills).
lyudmila [28]
I would say traditional animation
7 0
3 years ago
Most programming languages provide loop statements that help users iteratively process code. In Coral you can write loops that h
AysviL [449]

Answer:

Explanation:

When programming loop statements are essential as they allow you to repeat a certain action various times without having to rewrite the same code over and over again for the number of times you want it to repeat. This drastically simplifies the code and saves on computer memory. Loop statements are written so that the same code repeats itself until a pre-set condition is met.

4 0
4 years ago
A "want" is very different than a "need'. What is a want?
Snowcat [4.5K]
I miss read the question the first time....the answer is C.
8 0
4 years ago
Read 2 more answers
Other questions:
  • What does the Sort feature do with a database
    13·1 answer
  • Write a C++ programthat simulates a cash register. The user should keeptyping
    5·1 answer
  • Instructions:Select the correct answer.
    5·1 answer
  • Ophelia is entering a Get Fit! sporting goods store in a shopping mall when her heel gets caught in a heating grate at the thres
    9·1 answer
  • Angela recently purchased a new Android smartphone. While purchasing the phone, Angela was told that she would need to set up a
    14·1 answer
  • Why did Herman Hollerith invent the Tabulating Machine?
    10·1 answer
  • Which Boolean operator produces the result 1 only if both values are 1? Which Boolean operator produces the result 0 only if bot
    13·1 answer
  • The advancements in which of the following technologies has most changed the American job market in recent years?
    15·1 answer
  • Why are various creative works split up into different types under copyright law?
    9·1 answer
  • What will you see on the next line?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!