call by refrence1

call by refrence1 - *c=33 d=55 void main{int a=3,b=3...

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

View Full Document Right Arrow Icon
A=33 B =3 Q : write the output for the following code ? #include<iostream.h> void val(int *c,int d)//call by refrence
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { *c=33; d=55; } void main() {int a=3,b=3; val(&a,b); cout<<endl<<"a="<<a; cout<<endl<<b<<"b="<<endl; }...
View Full Document

This note was uploaded on 10/16/2010 for the course ENG 2266e taught by Professor Aliraqi during the Spring '10 term at 4.1.

Ask a homework question - tutors are online