char local_buffer[32]; unsigned int i = 0; for (i = 0; i < 32; i++) { local_buffer[i] = i; }