Advertisement
Guest User

example-3

a guest
Feb 15th, 2022
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. void function(const void *restrict a, const void *restrict b)
  5. {
  6.   printf("a = %s\n", a);
  7.   printf("b = %s\n", b);
  8. }
  9.  
  10. int main(int argc, char **argv)
  11. {
  12.   const char *a = "test string a";
  13.   const char *b = "test string b";
  14.  
  15.   function(a, b);
  16.  
  17.   return EXIT_SUCCESS;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement