File: test07.ci

package info (click to toggle)
clif 0.90.2-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 4,336 kB
  • ctags: 2,815
  • sloc: ansic: 29,914; yacc: 4,338; lex: 644; makefile: 373; sh: 48
file content (22 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
int 
prva ()
{
  return 1;
}

int 
druha (int a, int b)
{
  a = a + b;
  printf ("%d\n", a);
  return a;
}

int d, c;
printf ("zadaj d\n");
scanf ("%d", d);
/* c=prva(); */
c = druha (prva(), d);
printf ("c=%d\n", c);
printf ("d=%d\n", d);
exit;