desdemona

maloki lab so 11.12

Dec 11th, 2012
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     int* pTab;
  7.     pTab=(int*)malloc(5*sizeof(int));
  8.     pTab[4]=7;
  9.    
  10.     printf("%d", pTab[4]);
  11.     free(pTab);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment