what is ouput char *sentence=null; strcpy(sentence,"helloworld"); printf("%s",sentence);
Answers
Answered by
0
The output is for the program is error. When compiling the coding in c program, it is showing runtime error.
A good programmer will usually clear the error and offer you good solution in best possible way.
In this program, the point just indicates null because it has no storage space. You have to allocate space. You might use strdup to accomplish it.
Similar questions