Question:

C++ programming questions?

by  |  earlier

0 LIKES UnLike

Look very closely at the following function. What does it do?

int AddTwo(int Original)

{

int NewNumber;

NewNumber = Original + 2;

return NewNumber;

}

The function adds two to a string.

The function takes a two and adds two to get four.

The function takes an original number and adds the original number to itself.

The function adds two to a number and returns the answer.

 Tags:

   Report

2 ANSWERS


  1. The last option: The function adds two to a number and returns the answer.


  2. You could at least try reading the code...its pretty obvious even if you don't know programming at all...

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.