i guess 104 is the address of the variable , but isn't the address looking a little small ?
My question is why *target is printing 104 and target is printing hello
When i first wrote the program i had predicted the output to be
hello
104 But i was wrong .
prints character stored in a memory cell *target as an integer number (%d).
In the second statement
printf("%s\n",target); //prints hello
the function interprets target as a pointer to the first symbol of a string literal and outputs all symbols pointed by target until it meets the terminating zero character.