Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int my(void *b1, void *b2, int len)
- {
- for(int i = 0; i < len; i++)
- {
- printf("%c %c\n", b1+i, b2+i);
- }
- }
- int main()
- {
- char str[20] = "ABCDEFGHIJKLMA";
- my( str[1], str[3], 3);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement