0
Plz explain me this code I need it
What is *char ? and these no. r not ascii codes plz explain https://code.sololearn.com/cop4ngOflj6J/?ref=app
23 Answers
+ 21
actually char* declare pointer variable to store the address of character in string
and I have used octal number system here
* is pointer to char
+ 17
you can ask 😨 I'll try 😊
+ 17
Thank you Jamie you're right 😊😊
+ 16
I was explaining you wait 😑
+ 2
Ok But I hav several questions
+ 2
Can I ask u
+ 2
Why r we using pointers in this case
+ 1
Ok now why char* can't use ascii
+ 1
Ok
+ 1
Then tell me I use 'A' as 90 what is it decimal?
+ 1
Then char* word="\90" will print A
+ 1
I know but why that will not work
+ 1
I know what is octal what is binary what hex
+ 1
We hav to do sum using that in school
+ 1
My question is that why pointer char will not take 90 but octal 101
+ 1
Sorry 65
0
Thanks a lot @jamie