0
Can any one say how to declare alphanumerical value to a variable in C.?
2 Antworten
+ 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/
0
Use charecter array..
pointer to charecter variable..
char a[] ="Hello1234" ;
char *s=" hello1234" ;
[Here, value treated as collection of charecters only]..