Advertisement
Guest User

Untitled

a guest
Jun 8th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. #include <stdio.h>
  2. char function(){
  3.     char a[] = "hello world";
  4.     return *a;
  5. }
  6. int main(){
  7.     char b[] = function();
  8.     return 0;
  9. }
  10. ------------------------
  11. payload.c: In function ‘main’:
  12. payload.c:54:13: error: invalid initializer
  13.   char b[] = function();
  14.              ^~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement