char group variable declaration | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

char group variable declaration

In Basic Concepts - variable topic at this course there's a declaration of a variable char like this: char group = 'Z'; What is the function of group? I have only seen group in regex

4th Oct 2017, 11:38 AM
Mayara Ferreira
Mayara Ferreira - avatar
2 Answers
+ 2
The group has none kind of function You are declaring a character constant and "group" is just the name for 'Z' or say the name of the variable (char)
4th Oct 2017, 5:25 PM
#RahulVerma
#RahulVerma - avatar
0
haha thank you ,Rahul Verma . I didn't noticed it was only the name of the attribute XD
4th Oct 2017, 9:52 PM
Mayara Ferreira
Mayara Ferreira - avatar