Advertisement
a53

BacNume

a53
Jun 25th, 2022
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. void FNume(char s[], char id[])
  2. {
  3. int i=0;
  4. while(s[i]!=' ')
  5. ++i;
  6. unsigned int j=i+1;
  7. for(;j<strlen(s);++j)
  8. id[j-i-1]=s[j];
  9. id[j]='\0';
  10. strcat(id,"2022");
  11. }
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement