exam - #include<cassert> int trial(const int x...

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

View Full Document Right Arrow Icon
/* * exam.cpp * * * Created by Neha Gupta on 12/16/09. * Copyright 2009 University of Michigan. All rights reserved. * */ #include <iostream> #include <cstdlib> #include <string>
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: #include <cassert> int trial(const int x) { return (x+2); } using namespace std; int main() { int x=1, y; y=trial(x); cout<<x<<endl<<y; return 0; }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online