Question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Question

In c language when i want yo write string I will used only char ?

24th Mar 2020, 7:26 AM
Rawan
Rawan - avatar
4 Answers
+ 1
I know about null character bro. Anyways, you should test the code before giving it away as an example for the OP. Your 3rd and 4th string example triggers error in SoloLearn and my local editor C4Droid. Check it once, fix the erroneous code and it will be fine 👍
24th Mar 2020, 8:03 AM
Ipang
+ 1
Thank you so much 💙
24th Mar 2020, 10:26 PM
Rawan
Rawan - avatar
+ 1
Rawan Has your doubt been cleared? You are welcome to ask if there is something unclear about this, still.
24th Mar 2020, 11:59 PM
Ipang
0
AKR Please verify the third and fourth example buddy.
24th Mar 2020, 7:56 AM
Ipang