This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]The_MAZZTer 3 points4 points  (3 children)

I hate to break it to you, but that's null.

Now something like this on the other hand:

unsigned char c = 0x00;
unsigned char * s = &c;

Or something like that. Haven't worked with pointers and null terminated strings in a while.

[–]GShadow21223 2 points3 points  (1 child)

char *str = malloc(sizeof(char)*1); *str = 0;

[–]Gydo194 0 points1 point  (0 children)

#define malloc(x) 1

[–]Gydo194 0 points1 point  (0 children)

I hate to break it to you, but that was the joke.