File: test36.ci

package info (click to toggle)
clif 0.92-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,580 kB
  • ctags: 2,814
  • sloc: ansic: 31,040; yacc: 4,961; lex: 659; makefile: 390; sh: 60
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;