Function in C
Function in C. What is function? Look the example…. #include< stdio.h > void main( ) { int x,y ; float w; char ch ; scanf (“%d % d”,&x,&y ); scanf (“%f ”,&w); scanf (“% c”,&ch ); printf (“x=%d, y=%d w=%f ch =%c ”, x,y,w,ch ); }. #include< stdio.h > void fun( ) { int x,y ;
289 views • 13 slides