Afficher l’adresse et la valeur d’une variable

Author:

 adresse
{filelink=13552}

#include 

int main(void)
{
  int x = 15;
  int *p1 = &x;

printf("Adresse de x= %dn",p1);
printf("Valeur de x= %dn",*p1);

  return 0;
}

Leave a Reply

Your email address will not be published. Required fields are marked *