My photo
Bangalore, Karnataka, India
Extending one hand to help someone has more value rather than joining two hands for prayer

Archives

basic of function

Tuesday, September 1, 2009

#include<stdio.h>
#include<conio.h>
void mon();
void sat();
void main()
{
 clrscr();
 sat();
 sat();
 sat();
 mon();
 getch();
 }
 void mon()
 {
  sat();
  }
 void sat()
 {
  static int i;
  printf("\n%d",i);
  i++;
  }

0 comments: