Commits

Ramakrishna Reddy Yekulla committed bcb1df6

Code kata for 20120724 ex03 and 04 of lcthw

  • Participants
  • Parent commits c09eb2a

Comments (0)

Files changed (7)

   - Concurrency Issues
   - Locks, Mutexes, Semaphores and Monitors
   - Abitilty to explain context switiching
-
+  

lcthw/ex03

Binary file added.
+#include <stdio.h>
+
+int main()
+{
+  int age = 10;
+  int height = 72;
+  
+  printf("I am %d years old.\n", age);
+  printf("I am %d inches tall.\n", height);
+
+  return 0;
+
+}
+#include <stdio.h>
+
+int main()
+{
+  int age = 10;
+  int height = 72;
+  
+  printf("I am %d years old.\n", age);
+  printd("I am %d inches tall.\n", height);
+
+  return 0;
+
+}

lcthw/ex04

Binary file added.
+#include <stdio.h>
+
+/* Warning : This program is wrong on purpose */
+
+int main()
+{
+  int age = 10;
+  int height = 72;
+
+  printf("I am %d years old.\n", age);
+  printf("I am %d inches tall.\n", height);
+
+  return 0;
+}
+   
+#include <stdio.h>
+
+/* Warning : This program is wrong on purpose */
+
+int main()
+{
+  int age = 10;
+  int height = 72;
+
+  printf("I am %d years old.\n");
+  printf("I am %d inches tall.\n", height);
+
+  return 0;
+}
+