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.

script.sh 349B

12345678910111213141516171819202122
  1. bison -d -t analyse_syntaxique.y -v
  2. flex analyse_lexicale.lex
  3. gcc -w *.c -ly
  4. echo "
  5. int fonction1(int * a){
  6. int b = *a;
  7. printf(b);
  8. return 1;
  9. }
  10. int main(){
  11. int l = 21;
  12. int * p = &l;
  13. int c = fonction1(p);
  14. printf(c);
  15. p = &c;
  16. *p = 2;
  17. printf(c);
  18. return 0;
  19. }
  20. " | ./a.out