#include <stdio.h>
#include <stdarg.h>
#define ammo "full"
int main()
{
char a[100];
a = ammo;
printf("%s",a);
return 0;
}
I am trying to replace #define ammo
with "full"
(string) and want to print it on the screen to check if it works but the code is not compiling.