home
Learn
screen_rotation
#include <stdio.h> #include <conio.h> void getDataByPara(int a, int b, int c){ printf("\n value of a: %d",a); printf("\n value of b: %d",b); printf("\n value of c: %d",c); } void main(){ clrscr(); printf("\n This is parameterize function program."); getDataByPara(10, 20, 30); /* 10, 20, 30 goes to a, b, c respectively. */ getch(); }
Program Output
This is parameterize function program. value of a: 10 value of b: 20 value of c: 30