fork download
  1. #include <stdio.h>
  2.  
  3.  
  4.  
  5. int main() {
  6. int nombre;
  7. char nom[50];
  8.  
  9. printf("Entrez un nombre: ");
  10. scanf("%d", &nombre);
  11.  
  12. printf("Entrez votre nom: ");
  13. scanf("%s", nom);
  14.  
  15. printf("Nom: %s, Nombre: %d\n", nom, nombre);
  16.  
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 5324KB
stdin
Standard input is empty
stdout
Entrez un nombre: Entrez votre nom: Nom: , Nombre: 5461