0

Can any one say how to declare alphanumerical value to a variable in C.?

5th May 2020, 7:02 AM
Hanumanthu Lakshmana Rao
Hanumanthu Lakshmana Rao - avatar
2 odpowiedzi
+ 1
Hi, Alphanumerical value means combination of character and letter. so,In a c use can store alphanumeric value in string data type. example string myValue="my value123" ; refer following site for string: https://www.geeksforgeeks.org/strings-in-c-2/
5th May 2020, 7:18 AM
AjayGohil
0
Use charecter array.. pointer to charecter variable.. char a[] ="Hello1234" ; char *s=" hello1234" ; [Here, value treated as collection of charecters only]..
5th May 2020, 7:15 PM
Jayakrishna 🇮🇳