[ create a new paste ] login | about

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

C, pasted on Dec 17:
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <string.h>

int main ()
{
        char c[2] = "qf";

        printf ("%d - %d", strlen (c),sizeof (c));

}


Output:
1
2
2 - 2
Exited: ExitFailure 5


Create a new paste based on this one


Comments: