Guest User

Untitled

a guest
Apr 13th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. static char ** str_tab;
  2.  
  3. void tab_fill(int i)
  4. {
  5.     char str[256];
  6.     printf("podaj wiersz\n");
  7.     scanf("%s", str);
  8.     str_tab[i] = str;
  9.     printf("%s\n", str_tab[i]); //tutaj normalnie wyswietla
  10. }
  11.  
  12. void tab_print(int i)
  13. {
  14.     printf("%s", str_tab[i]); //tutaj wyswietla jakies krzaki
  15.     printf("\n");
  16. }
Advertisement
Add Comment
Please, Sign In to add comment