No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

code_c 348B

12345678910111213141516171819202122232425262728
  1. int fonction1(int * p){
  2. int b = *p;
  3. printf(b);
  4. *p = 5;
  5. return 2;
  6. }
  7. int main(){
  8. int a = 7;
  9. int * pointeur = &a;
  10. int c = fonction1(pointeur);
  11. if(c==2){
  12. printf(c);
  13. printf(*pointeur);
  14. }
  15. else{
  16. c=a+2;
  17. }
  18. while (c!=5){
  19. c = c+1;
  20. }
  21. printf(c);
  22. return 0;
  23. }