Quote the letters in single quotes to form character literals, like this:
'a'
More Related Contents:
- Unit testing for a function (tolower) using pointers
- Do I need to cast to unsigned char before calling toupper(), tolower(), et al.?
- Why can’t “transform(s.begin(),s.end(),s.begin(),tolower)” be complied successfully?
- C For loop skips first iteration and bogus number from loop scanf
- what does this expression mean "val&=val-1" [duplicate]
- function returns address of local variable, but it still compile in c, why?
- Access violation reading data from binary file into struct in C
- Writing a program without IF or :? conditional operator
- typedef struct vs struct definitions [duplicate]
- Why does scanf ask twice for input when there’s a newline at the end of the format string?
- What is the equivalent to getch() & getche() in Linux?
- What is the use of the %n format specifier in C?
- What is the use of the `inline` keyword in C?
- What is the fastest way to swap values in C?
- Macro returning the number of arguments it is given in C? [duplicate]
- The difference of int8_t, int_least8_t and int_fast8_t?
- What is a contiguous memory block?
- Determine word size of my processor
- String input to flex lexer
- Comparing unsigned char and EOF
- why does GCC __builtin_prefetch not improve performance?
- Unspecified number of parameters in C functions – void foo()
- How to print an unsigned char in C?
- String.indexOf function in C
- C – function returning a pointer to a local variable
- What does … mean in an argument list in C?
- C11 in GCC?
- Minimizing the amount of malloc() calls improves performance?
- Is a += b more efficient than a = a + b in C?
- multiple threads able to get flock at the same time