+ 2

Strings in c

Good Morning/Evening/afternoon! I'm a "C language" begginer. I have read a book about C language basics and I want to practice. I want to write a custom Data type String. How to achieve this using char arrays and pointers?

29th Jun 2019, 10:41 AM
Lighton
Lighton - avatar
1 Answer
+ 3
to have user define datatype you need to learn further, this things are what you learn on the way and not at the beginning, since you area beginner start with basic things, but to have a user define string you can use "typedef char *string"
29th Jun 2019, 4:46 PM
✳AsterisK✳
✳AsterisK✳ - avatar