fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int tam;
  5. printf("\ndigite tam: ");
  6. scanf("%d", &tam);
  7. int vet[tam];
  8. printf("%d", vet[0]);
  9. }
  10.  
  11. //https://pt.stackoverflow.com/q/35149/101
Success #stdin #stdout 0s 10320KB
stdin
10
stdout
digite tam: 13