home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / programming / misc_programming / MSC / CINTTST.C < prev    next >
Encoding:
Text File  |  1990-06-28  |  483 b   |  23 lines

  1. int cinttst1(x)
  2.   int x;
  3. {
  4.   printf(">  Beginning of cinttst1.\n");
  5.   printf(">    Value passed from msctest:\n");
  6.   printf(">      x (4) = %d\n", x);
  7.   printf(">  End of cinttst1.\n");
  8.  
  9.   return x * x;
  10. }
  11.  
  12. void cinttst2(x, y, z)
  13.   int x, y, *z;
  14. {
  15.   printf(">  Beginning of cinttst2.\n");
  16.   printf(">    Values passed from msctest:\n");
  17.   printf(">      x ( 5) = %d\n", x);
  18.   printf(">      y (11) = %d\n", y);
  19.   printf(">  End of cinttst2.\n");
  20.  
  21.   *z = x * y;
  22. }
  23.