Solution for Exercise 4-14

ex0414

#include <stdio.h>

int main()
{
    printf("\"Hey,\" said the snail, \"I said no salt!\"\n");
    return(0);
}

Output

"Hey," said the snail, "I said no salt!"

Notes

* The double quote character must be escaped because it's used to delineate a string.

* I hope you didn't forget the newline character at the end of the string!