Das versuche ich mit einem Pointer, das möchte aber nicht wie ich will.
Code: Alles auswählen
#include <stdio.h>
#include <string.h>
int main(void)
{
char text[] = "Hello proggen.org";
char * textptr = text;
printf( "Groesse von text : %lu Bytes / Elemente\n", sizeof( text ));
// 6 Bytes abschneiden
text = &textptr - 6;
printf( "Groesse von text : %lu Bytes / Elemente\n", sizeof( text ));