Da_Gamer icon

Function Example 1

Da_Gamer | PRO | 12/17/16 06:37:49 PM UTC | 0 ⭐ | 286 👁️ | Never ⏰ | []
C++ |

220 B

|

None

|

0 👍

/

0 👎

#include <iostream>
#include <stdlib.h>
 
using namespace std;
 
int addTwoNumbers(int a, int b)
{
    int result = a + b;
    return result;
}
 
int main ()
{
    cout << addTwoNumbers(3, 5);
    return 0;
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎