~ubuntu-branches/ubuntu/oneiric/clif/oneiric

« back to all changes in this revision

Viewing changes to tests/test07.ci

  • Committer: Bazaar Package Importer
  • Author(s): Adrian Bunk
  • Date: 2002-01-25 14:05:49 UTC
  • Revision ID: james.westby@ubuntu.com-20020125140549-v5mmddxqlcrgzhd2
Tags: upstream-0.93
ImportĀ upstreamĀ versionĀ 0.93

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
int 
 
2
prva ()
 
3
{
 
4
  return 1;
 
5
}
 
6
 
 
7
int 
 
8
druha (int a, int b)
 
9
{
 
10
  a = a + b;
 
11
  printf ("%d\n", a);
 
12
  return a;
 
13
}
 
14
 
 
15
int d, c;
 
16
printf ("zadaj d\n");
 
17
scanf ("%d", d);
 
18
/* c=prva(); */
 
19
c = druha (prva(), d);
 
20
printf ("c=%d\n", c);
 
21
printf ("d=%d\n", d);
 
22
exit;