Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3.  
  4. char tab[5]={'h','a','s','l','o'};
  5.  
  6.  main()
  7. {
  8. printf("wprowadz haslo");
  9.  
  10. scanf("%5shaslo",&tab[5]);
  11.  
  12. while (tab[5]) printf("prawidlowe");
  13.  
  14.  
  15. return 0;
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement