progs/example1.c
author Christian Urban <urbanc@in.tum.de>
Tue, 26 Sep 2017 13:22:24 +0100
changeset 539 48e0c8b03ae5
parent 205 88416b7df38c
permissions -rw-r--r--
spell
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
}