File: test36.ci

package info (click to toggle)
clif 0.93-9
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 4,228 kB
  • ctags: 3,284
  • sloc: ansic: 31,464; yacc: 5,067; lex: 819; makefile: 383; sh: 48
file content (21 lines) | stat: -rw-r--r-- 232 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
int
prva ()
{
  return 1;
}

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

float d, c;
printf ("zadaj d\n");
scanf ("%f", d);
c = druha (prva (), d);
printf ("c=%g\n", c);
printf ("d=%g\n", d);
exit;