Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(void) {
  4.     int * i= (int*) malloc(sizeof(int));
  5.     printf("input a number:\n");
  6.     scanf("%d", i);
  7.     printf("%d", *i);
  8.     free(i);
  9.     return EXIT_SUCCESS;
  10. }