hello.c 304 B

123456789101112131415
  1. /* Copyright (c) 2010 Google Inc. All rights reserved.
  2. * Use of this source code is governed by a BSD-style license that can be
  3. * found in the LICENSE file. */
  4. #include <stdio.h>
  5. int func1(void) {
  6. return 42;
  7. }
  8. int main(void) {
  9. printf("Hello, world!\n");
  10. printf("%d\n", func1());
  11. return 0;
  12. }