#include<stdio.h>

void main()
{

char a = 'AB';

printf("%c", a);
}

// In the above program why the output is 'B';

Here we are assigning 'AB' to a char and there's no compiler error.