Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int funkcja_a( int a, float b, long c, char d ){
  4. printf("Funkcja A:\n");
  5. printf("a=%d\n", a );
  6. printf("b=%f\n", b );
  7. printf("c=%ld\n", c );
  8. printf("d=%d [%c]\n\n", d,d );
  9. return 0;
  10. }
  11.  
  12. int funkcja_b( a, b, c, d )
  13. int a;
  14. float b;
  15. long c;
  16. char d;
  17. {
  18. printf("Funkcja B:\n");
  19. printf("a=%d\n", a );
  20. printf("b=%f\n", b );
  21. printf("c=%ld\n", c );
  22. printf("d=%d [%c]\n\n", d,d );
  23. return 0;
  24. }
  25.  
  26. int main(){
  27.  
  28. funkcja_a( 123, 400, -1, 'x' );
  29. funkcja_b( 123, 400, -1, 'x' );
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement