Inc2by - int x = 3 ; int y = 5 ; inc2by2(x,y) ; cout...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <iostream> using namespace std ; int x = 99 ; void inc2by2 x += 2 ; y += 2 ; } int main() {
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: int x = 3 ; int y = 5 ; inc2by2(x,y) ; cout << "x = " << x << ", y = " << y << endl ; }...
View Full Document

This note was uploaded on 10/28/2010 for the course CSCI 1113 taught by Professor Staff during the Spring '08 term at Minnesota.

Ask a homework question - tutors are online