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?
Jump to PostIsn't declaring a string in c already a null terminated character array?
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, learning, and sharing knowledge.
You're trying to visit a URL that doesn't currently exist on the web. Most likely, a member posted a link a long time ago to a web page that has since been removed. It's also possible that there was a typo when posting the URL. We redirect you to this notice instead of stripping out the link to preserve the integrity of the post.