Can you...? (guess.c)

If you did the triangle area program, you should be able to guess the output of this program:
  #include <stdio.h>

  int main()
  {
     int x, a, b;

     a = 10; b = 3;
     x = a / b;
     printf("x is %d\n", x);
     return 0;
  }

 


Where to go

Chapter 2
News Page
Lesson 1 contents
Contacting Me


Roby Joehanes © 2001