To assign the letter ‘A’ to a variable of type char we would write:
To assign the letter ‘A’ to a variable of type char we would write:
void main()
{
char LetterA;
LetterA = ‘A’;
}
Previous slide
Next slide
Back to first slide
View graphic version