Answers for "c print string of size"

C
2

c print sizeof char

char b = 'b';
printf("the size of b is %d",sizeof(b));
Posted by: Guest on December-25-2020
2

size string C

#include <string.h>

void main(void)
{
	char str[] = "Hello";
	int str_size = strlen(str);
}
Posted by: Guest on August-05-2021

Code answers related to "C"

Browse Popular Code Answers by Language