c program to get size of string made from chars code example Example: c print sizeof char char b = 'b'; printf("the size of b is %d",sizeof(b));