R
RoS
what does it say the standard for below program?
it has to run or not? or it is UB?
it is better know there is a error or the portability?
it compile and run with gcc?
-------------------------------
#include <stdio.h>
int main(void)
{char *p="123";
printf("jijdid\n", p);
return 0;
}
-------------------------------
it has to run or not? or it is UB?
it is better know there is a error or the portability?
it compile and run with gcc?
-------------------------------
#include <stdio.h>
int main(void)
{char *p="123";
printf("jijdid\n", p);
return 0;
}
-------------------------------