Language: C

int main() {
    char str[N],buf[2];
    char *p;
    int sum;
    while (1) {
        scanf("%s",str);
        if (str[0] == '0')break;
        sum = 0;
        p = str;
        while (*p) {
            sum += atoi(strncpy(buf,p++,1));
        }
        printf("%d\n", sum);
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:2:1: error: stray '\302' in program
    2 | <U+00A0><U+00A0><U+00A0><U+00A0>char str[N],buf[2];
      | ^~~~~~~~
main.c:2:2: error: stray '\302' in program
    2 | <U+00A0><U+00A0><U+00A0><U+00A0>char str[N],buf[2];
      |         ^~~~~~~~
main.c:2:3: error: stray '\302' in program
    2 | <U+00A0><U+00A0><U+00A0><U+00A0>char str[N],buf[2];
      |                 ^~~~~~~~
main.c:2:4: error: stray '\302' in program
    2 | <U+00A0><U+00A0><U+00A0><U+00A0>char str[N],buf[2];
      |                         ^~~~~~~~
main.c:2:14: error: 'N' undeclared (first use in this function)
    2 |     char str[N],buf[2];
      |              ^
main.c:2:14: note: each undeclared identifier is reported only once for each function it appears in
main.c:3:1: error: stray '\302' in program
    3 | <U+00A0><U+00A0><U+00A0><U+00A0>char *p;
      | ^~~~~~~~
main.c:3:2: error: stray '\302' in program
    3 | <U+00A0><U+00A0><U+00A0><U+00A0>char *p;
      |         ^~~~~~~~
main.c:3:3: error: stray '\302' in program
    3 | <U+00A0><U+00A0><U+00A0><U+00A0>char *p;
      |                 ^~~~~~~~
main.c:3:4: error: stray '\302' in program
    3 | <U+00A0><U+00A0><U+00A0><U+00A0>char *p;
      |                         ^~~~~~~~
main.c:4:1: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int sum;
      | ^~~~~~~~
main.c:4:2: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int sum;
      |         ^~~~~~~~
main.c:4:3: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int sum;
      |                 ^~~~~~~~
main.c:4:4: error: stray '\302' in program
    4 | <U+00A0><U+00A0><U+00A0><U+00A0>int sum;
      |                         ^~~~~~~~
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0><U+00A0><U+00A0><U+00A0>while (1) {
      | ^~~~~~~~
main.c:5:2: error: stray '\302' in program
    5 | <U+00A0><U+00A0><U+00A0><U+00A0>while (1) {
      |         ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0><U+00A0><U+00A0><U+00A0>while (1) {
      |                 ^~~~~~~~
main.c:5:4: error: stray '\302' in program
    5 | <U+00A0><U+00A0><U+00A0><U+00A0>while (1) {
      |                         ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%s",str);
      | ^~~~~~~~
main.c:6:2: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%s",str);
      |         ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%s",str);
      |                 ^~~~~~~~
main.c:6:4: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%s",str);
      |                         ^~~~~~~~
main.c:6:5: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%s",str);
      |                                 ^~~~~~~~
main.c:6:6: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%s",str);
      |                                         ^~~~~~~~
main.c:6:7: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%s",str);
      |                                                 ^~~~~~~~
main.c:6:8: error: stray '\302' in program
    6 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>scanf("%s",str);
      |                                                         ^~~~~~~~
main.c:6:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |         scanf("%s",str);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main() {
main.c:6:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |         scanf("%s",str);
      |         ^~~~~
main.c:6:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (str[0] == '0')break;
      | ^~~~~~~~
main.c:7:2: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (str[0] == '0')break;
      |         ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (str[0] == '0')break;
      |                 ^~~~~~~~
main.c:7:4: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (str[0] == '0')break;
      |                         ^~~~~~~~
main.c:7:5: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (str[0] == '0')break;
      |                                 ^~~~~~~~
main.c:7:6: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (str[0] == '0')break;
      |                                         ^~~~~~~~
main.c:7:7: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (str[0] == '0')break;
      |                                                 ^~~~~~~~
main.c:7:8: error: stray '\302' in program
    7 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>if (str[0] == '0')break;
      |                                                         ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum = 0;
      | ^~~~~~~~
main.c:8:2: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum = 0;
      |         ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum = 0;
      |                 ^~~~~~~~
main.c:8:4: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum = 0;
      |                         ^~~~~~~~
main.c:8:5: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum = 0;
      |                                 ^~~~~~~~
main.c:8:6: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum = 0;
      |                                         ^~~~~~~~
main.c:8:7: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum = 0;
      |                                                 ^~~~~~~~
main.c:8:8: error: stray '\302' in program
    8 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum = 0;
      |                                                         ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>p = str;
      | ^~~~~~~~
main.c:9:2: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>p = str;
      |         ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>p = str;
      |                 ^~~~~~~~
main.c:9:4: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>p = str;
      |                         ^~~~~~~~
main.c:9:5: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>p = str;
      |                                 ^~~~~~~~
main.c:9:6: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>p = str;
      |                                         ^~~~~~~~
main.c:9:7: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>p = str;
      |                                                 ^~~~~~~~
main.c:9:8: error: stray '\302' in program
    9 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>p = str;
      |                                                         ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>while (*p) {
      | ^~~~~~~~
main.c:10:2: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>while (*p) {
      |         ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>while (*p) {
      |                 ^~~~~~~~
main.c:10:4: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>while (*p) {
      |                         ^~~~~~~~
main.c:10:5: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>while (*p) {
      |                                 ^~~~~~~~
main.c:10:6: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>while (*p) {
      |                                         ^~~~~~~~
main.c:10:7: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>while (*p) {
      |                                                 ^~~~~~~~
main.c:10:8: error: stray '\302' in program
   10 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>while (*p) {
      |                                                         ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum += atoi(strncpy(buf,p++,1));
      | ^~~~~~~~
main.c:11:2: error: stray '\302' in program
   11 | <U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0><U+00A0>sum += atoi(strncpy(buf,p++,1));
      |         ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0><U+00A0><