error: '++' needs l-value.Code:#include <stdio.h> int main(void) { char *names[] = {"Meg", "John", "Susan", "Charlotte", "Mario"}; unsigned int nelements = sizeof names / sizeof(*names); while (--nelements > 0) printf("%s\n", *names++); return 0; }