I am trying to put the result from:
system("/14/test");
into a variable named "ZZZ" and then printf it.
#include <stdio.h>
#include <stdlib.h>
char ZZZ[10];
int main()
{
char * ZZZ = system("/14/test");
printf(ZZZ);
}
Error:
warning: initialization makes pointer from integer without a cast [-Wint-conversion]