blob: 67c60ee9820305958e8ec320cc807b6a8ff60ec2 [file] [log] [blame]
struct dm
{
unsigned q;
unsigned r;
};
struct dm
dm (a, b)
unsigned a, b;
{
struct dm qr;
qr.q = a / b;
qr.r = a % b;
return qr;
}
main ()
{
struct dm qr;
qr = dm (100, 30);
printf ("%u, %u\n", qr.q, qr.r);
}