home
Learn
screen_rotation
#include <stdio.h> #include <conio.h> int s; void getDataByPara(int a, int b, int c){ s = a + b + c; printf("\n %d + %d + %d = %d",a,b,c,s); } 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. 10 + 20 + 30 = 60