#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define log(x) printf(#x": %d\n",x)

int main(int argc, char *args) {
	char s[] = "string";
	
	log(sizeof(s));
	log(strlen(s));
	
	int i;
	for (i=0; i<strlen(s); i++) printf("s[%d]: %c(%d)\n", i, s[i], s[i]);
	puts("");
	
	puts("Null character");
	log(s[strlen(s)]); // equal s[6]
	log(NULL);
	log('\0');
	log(0);
	
	exit(EXIT_SUCCESS);
}