Simple C Program
#include <stdio.h> /* to use I/O functions */func1 () { int j; for (j=1; j j++) { printf(“Hello world\n”); printf(“j = %d\n”,j); } }main(){ func1(); /* function call.. */}
Write this in file my_prog.c, compile and run!
Previous slide
Next slide
Back to first slide
View graphic version