Assalam U Alaikum Guys!
can somebody help me how to convert a string to Char array? like if m having a string=("hello"); and i want to convert it to arr[5]={'h','e','l','l','o'};
is that possible.. or can somebody help me?
Assalam U Alaikum Guys!
can somebody help me how to convert a string to Char array? like if m having a string=("hello"); and i want to convert it to arr[5]={'h','e','l','l','o'};
is that possible.. or can somebody help me?
Isn't declaring a string in c already a null terminated character array?
Yes, a 'string' already is a character array -- by definition.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.