When I am printing sizeof('b') in C it is printing 4, but it should print 1 because 'b' is not a integer, it is a char.
#include<stdio.h>
int main(){
printf("the size of b is %d",sizeof('b'));
}
When I am printing sizeof('b') in C it is printing 4, but it should print 1 because 'b' is not a integer, it is a char.
#include<stdio.h>
int main(){
printf("the size of b is %d",sizeof('b'));
}