Have an array of chars like char members[255]. How can I empty it completely without using a loop?
char members[255];
By \"empty\" I mean that
By "empty an array" if you mean reset to 0, then you can use bzero.
#include void bzero(void *s, size_t n);
If you want to fill the array with some other default character then you may use memset function.
#include void *memset(void *s, int c, size_t n);