For Better Performance Please Use Chrome or Firefox Web Browser

20-3

#include <iostream.h>

int myTaghsim1 (int a, int b, int *bagh);
void myTaghsim2 (int a, int b, .... );
struct myBghKhghsmt myTaghsim2(int a, int b);

void main(void)
{
	int a=10, b=3, kh, bgh;
	kh = myTaghsim1(a, b, &bgh);
	cout << kh << " " << bgh << endl;
}

int myTaghsim1 (int a, int b, int *bagh)
{
	*bagh = a%b;
	return a/b;
}

تحت نظارت وف ایرانی