Advertisement
dllbridge

Untitled

Oct 6th, 2024
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.51 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int def(int *, int*);
  4.  
  5. /////////////////////////////////////////////////////////
  6. int main()
  7. {
  8.    
  9.     int x = 7,                                         //             kllkjkljk
  10.         y = 9;                                         // opipoipioo  jkhjkhjkh
  11.            
  12.     def(&x, &y);
  13. }
  14.  
  15.  
  16. /////////////////////////////////////////////////////////
  17. int def( int *p1, int*p2)
  18. {
  19.    
  20.     if(*p1 > *p2) printf("%d\n", *p1);
  21.     else        
  22.                   printf("%d\n", *p2);
  23. }
  24.  
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement