- 1

what is string ? in c

29th Dec 2016, 10:42 AM
Rindi Hasan
Rindi Hasan - avatar
9 Respuestas
+ 6
No, it means that it can contain both numbers and characters (sequence).
29th Dec 2016, 10:47 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 6
Yes. (ints can hold only numbers and chars can hold only one character though.)
29th Dec 2016, 10:49 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
A sequence of characters
29th Dec 2016, 10:43 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
string "characters454" char "a" int 1
29th Dec 2016, 10:45 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
c has not string because is not OOP !but string in c++ is available and string is a class !not a primary data type
29th Dec 2016, 11:05 AM
Navid Tak
Navid Tak - avatar
+ 2
In C, string is an array of characters ending with special char '\0' that represents end of string.
30th Dec 2016, 5:00 PM
Vanya
Vanya - avatar
+ 1
give example pls
29th Dec 2016, 10:44 AM
Rindi Hasan
Rindi Hasan - avatar
+ 1
as variable!
29th Dec 2016, 10:47 AM
Rindi Hasan
Rindi Hasan - avatar
+ 1
thanks. for your kindness
29th Dec 2016, 11:30 AM
Rindi Hasan
Rindi Hasan - avatar