<b>(a)</b> main() print("Hello world^n"); <b>(b) </b> new myvar; <b>(c)</b> new counter = 0; <b>(d)</b> new prompt[] = !"Press any key...";
Example 4: (a) Function with a single statement; (b) declaring a variable; (c) variables may be initialized upon creation; (d) array that holds a packed string.
Copyright © 1999, Dr. Dobb's Journal