SLIDE 1
TinyC : The essence of imperative programming
- An imperative language with the following features:
TinyC Gabriele Keller TinyC : The essence of imperative programming - - PowerPoint PPT Presentation
Concepts of Program Design TinyC Gabriele Keller TinyC : The essence of imperative programming An imperative language with the following features: Global function declarations Global and local variables Assignment Iteration:
int result = 0; int div (int x, int y) { int res = 0; while (x > y) { x = x - y; res = res + 1; } return res; } result = div (16, 5);
★ expressions and statements ★ declarations