Advertisement
DEKTEN

HAITAM_002

May 12th, 2021
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.37 KB | None | 0 0
  1.         void ReturnsNineAndTen
  2.             int* a
  3.         ,   int* b
  4.         ){
  5.             (*a)=( 9 );
  6.             (*b)=(10 );
  7.             return;
  8.         }
  9.  
  10.         int main( void ){
  11.  
  12.             int a = 0 ;
  13.             int b = 0 ;
  14.  
  15.             ReturnsNineAndTen( &a , &b );
  16.  
  17.             printf( "a:%d\n" , a );
  18.             printf( "b:%d\n" , b );
  19.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement