samedi 27 juin 2015

Static external linkage C In the output addresses of a comes different ..why?

#include <stdio.h>
main()
{
    static int a = 5;
    printf("%d \t",&a);
    {
        int a=6; 
        printf("%d\t",&a);
    }
    // In the output addresses of a comes different ..why?
}

In the output addresses of a comes different ..why?

Aucun commentaire:

Enregistrer un commentaire