Advertisement
Devian

Function

Jul 24th, 2014
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. /* passing values to funcion */
  2. #include<stdio.h>
  3. func(char ch, int n, float x);
  4.  
  5. int main()
  6. {
  7. func('A', 10, 21.5);
  8.  
  9. return 0;
  10. }
  11. func(char ch, int n, float x)
  12. {
  13. printf("ch: %c\nn: %d\nx: %f",ch,n,x);
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement