Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
hi! char buf [4]; so: strncpy ( buf, "blaaaaaaaaaaaaah!", sizeof(buf) -1 ); oder besser so: strncpy ( buf, "blaaaaaaaaaaaaah!", sizeof(buf) - sizeof(*buf) );
mach da grad keinen Unterschied, weil sizeof(char)==1 (laut ANSI C 6.5.3.4)
sizeof(char)==1
achso, ok, danke!