0

Consider the following C code snippet: char *sentence = NULL; strcpy(sentence, "Helloworld"); printf("%s", sentence):

in above code, is there any error if not then what will be output

5th May 2018, 8:22 AM
Santosh Dongare
Santosh Dongare - avatar
1 Answer
+ 1
you can always put it into the C compiler on here and try it out
5th May 2018, 8:43 AM
hinanawi
hinanawi - avatar