progs/example1.c
author cu
Mon, 23 Oct 2017 21:00:14 +0100
changeset 557 192d01998ebd
parent 205 88416b7df38c
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
205
88416b7df38c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 204
diff changeset
     1
void foo(int a, int b, int c) {
88416b7df38c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 204
diff changeset
     2
   char buffer1[6] = "abcde";
88416b7df38c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 204
diff changeset
     3
   char buffer2[10] = "123456789";
204
8fe0dc898c73 added example1
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     4
}
8fe0dc898c73 added example1
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     5
8fe0dc898c73 added example1
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     6
void main() {
205
88416b7df38c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 204
diff changeset
     7
  foo(1,2,3);
204
8fe0dc898c73 added example1
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     8
}