Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <time.h>
- #include <string.h>
- typedef struct{
- int id;
- char imie[20];
- char nazwisko[20];
- int rok_u,mies_u,dzien_u;
- }tosoba;
- int main()
- {
- tosoba osoba;
- int los;
- srand(time(NULL));
- los = rand()%101;
- strcpy(osoba.imie, "imie" );
- printf("%s", osoba.imie);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement