[ create a new paste ] login | about

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

C, pasted on Jul 10:
1
2
3
4
5
6
7
8
9
#include<stdio.h>
int main(int argc, char **argv){
	char *str[] = {"forgs", "do", "not", "die"};
	printf("sizeof(str): %lu,  sizeof(str[0]): %lu\n", 
	        sizeof(str), 
	        sizeof(str[0])
	);	
	return 0;
}


Output:
1
sizeof(str): 16,  sizeof(str[0]): 4


Create a new paste based on this one


Comments: