Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. int tablica(int a[])
  2. {
  3. }
  4.  
  5. int tablica2d(int **a)
  6. {
  7. }
  8.  
  9. int napis(char a[])
  10. {
  11. }
  12.  
  13. int main()
  14. {
  15. int *a;
  16. a=(int*)malloc(sizeof(int)*10);
  17. tablica(a);
  18.  
  19. int **b;
  20. b=(int**)malloc(sizeof(int*)*10);
  21. for(int i=0;i<10;i++)
  22. {
  23. b[i]=(int*)malloc(sizeof(int)*6);
  24. }
  25. tablica2d(b);
  26.  
  27. char tekst[]="ufo pies";
  28. napis(tekst);
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement