#include #include #include void main() { float *adr1,*adr2; adr1 = (float*)malloc(4); adr2 = (float*)malloc(4); *adr1 = -45.78; *adr2 = 678.89; printf("adr1 = %p adr2 = %p r1 = %f r2 = %f\n",adr1,adr2,*adr1,*adr2); free(adr1); free(adr2); printf("\nPOUR CONTINUER FRAPPER UNE TOUCHE "); getch(); }
- Sunday
- November 24th, 2024
- Ajouter un cours