Have a look at the following piece of code and state and explain the output.
#include <stdio.h>
int main() {
// your code goes here
char *s = "abcdef";
*(s + 2) = '\0';
printf("%d", s);
return 0;
}
0
Service report
It's been a while since this question is posted here.
Still, the answer hasn't been got.
Consider converting this question to a fully qualified assignment, and we will try to assist.
Please click the link below to proceed: Submit order
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment