How can I use long character in C? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I use long character in C?

For example: 'Cheap'

24th Sep 2020, 1:58 PM
Shakiba Majd
Shakiba Majd - avatar
5 Answers
+ 4
There is no long char. It's a char array.
25th Sep 2020, 11:21 PM
Sonic
Sonic - avatar
+ 2
Nasif Rahman And is it impossible without using array?
24th Sep 2020, 2:05 PM
Shakiba Majd
Shakiba Majd - avatar
+ 2
Use charecter pointer char *ch = "string"; But also Internally is it same as the array..
24th Sep 2020, 2:43 PM
Jayakrishna 🇮🇳
+ 2
Nasif Rahman Rahul Prajapati Jayakrishna🇮🇳 Sonic Thank you all 💐 I was able to solve my problem without using char using "".
27th Sep 2020, 6:04 PM
Shakiba Majd
Shakiba Majd - avatar
+ 1
Loops concept of C program https://youtu.be/fuuvZMjX7A8
26th Sep 2020, 4:28 AM
Rahul Prajapati
Rahul Prajapati - avatar