Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.    printf("Hello world\n");
  6.  
  7.    int Count;
  8.    for (Count = -5; Count <= 5; Count++)
  9.       printf("Count = %d\n", Count);
  10.  
  11.    printf("String 'hello', 'there' is '%s', '%s'\n", "hello", "there");
  12.    printf("Character 'A' is '%c'\n", 65);
  13.    printf("Character 'a' is '%c'\n", 'a');
  14.  
  15.    return 0;
  16. }
  17.  
  18. // vim: set expandtab ts=4 sw=3 sts=3 tw=80 :
  19.