Hi,
Can anybody tell me why this function returns 49?
printf "%d\n" \'10
I don't understand what the \ and ' are there for?
thanks!!!
Hi,
Can anybody tell me why this function returns 49?
printf "%d\n" \'10
I don't understand what the \ and ' are there for?
thanks!!!
49 is the ascii value of the character '1'.
The solution(s) :
printf "%d\n" 10
printf "%d\n" '10'
Jean-Pierre.