Advertisement
kanciastopantalones

Untitled

Apr 16th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <conio.h>
  2. #include <stdio.h>
  3. #include <windows.h>
  4.  
  5.  
  6. void main() {
  7. int i=0;
  8. int* n=0;
  9.  
  10. n = malloc(sizeof(int));
  11.  
  12.  
  13. printf("podaj liczbe: ");
  14. scanf_s("%d", n);
  15.  
  16. printf("liczba to: ");
  17. printf("%d", n);
  18.  
  19.  
  20. getchar();
  21.  
  22.  
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement