#include void myFunc(unsigned short int x); int main() { unsigned short int x, y; y = myFunc(int); std::cout << "x: " << x << " y: " << y << "\n"; system("PAUSE"); // prevent the console window from closing return 0; } void myFunc(unsigned short int x) { return (4*x); }