Tricky question in C | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Tricky question in C

What's the difference between char* str, char str[] and char* str[]? Please explain in detail

19th May 2021, 12:12 PM
Rishi
Rishi - avatar
2 Answers
+ 3
Check the first answer here, https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.quora.com/What-is-the-difference-between-char*str-char*str-and-char-str&ved=2ahUKEwj4hI_53dXwAhV4zTgGHXR9AaAQFjAMegQIIBAC&usg=AOvVaw0j1GMZF-5xaw8bMV5w88t_&cshid=1621427030625
19th May 2021, 12:24 PM
Abhay
Abhay - avatar
+ 1
Abhay oh yes yes thank you I got it
19th May 2021, 12:37 PM
Rishi
Rishi - avatar