[ create a new paste ] login | about

Link: http://codepad.org/5P8hWdiZ    [ raw code | output | fork ]

basncy - C, pasted on Jul 10:
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>

int main(int argc,char **argv)
{
	char str3[]={'h','e','l','l','o'};
	
        printf("sizeof(str3):%ld\n",sizeof(str3));
	printf("strlen(str3):%ld\n\n",strlen(str3));

        return 0;
}


Output:
1
2
3
sizeof(str3):5
strlen(str3):5



Create a new paste based on this one


Comments: