fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int thomson=20;
  6. int mp_40=10, ump;
  7. int *m_1887, *m_10 ;
  8. m_10=&thomson;
  9. m_1887=&mp_40;
  10. ump= *m_10;
  11. *m_10=*m_1887;
  12. *m_1887=ump;
  13. printf("Thomson = %d\nMP_40=%d", *m_10, *m_1887 );
  14.  
  15. }
  16.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
Thomson = 10
MP_40=20