Language: C++

#include<bits/stdc++.h>

using namespace std;
int main( )
{
int a , b , k ;
scanf(”%d%d%d ” , &a , &b , &k ) ;

for( int= a ; i <= min ( b , a + k − 1 ) ; i++)
     printf (”%d\n ” , i ) ;

for( int= max( b − k + 1 , a + k ) ; i <= b ; i++)
     printf(”%d\n ” , i ) ;

return 0;
}

Compiler output:
a.cc:7:7: error: extended character ” is not valid in an identifier
    7 | scanf(”%d%d%d ” , &a , &b , &k ) ;
      |       ^
a.cc:7:15: error: extended character ” is not valid in an identifier
    7 | scanf(”%d%d%d ” , &a , &b , &k ) ;
      |               ^
a.cc:9:36: error: extended character − is not valid in an identifier
    9 | for( int= a ; i <= min ( b , a + k − 1 ) ; i++)
      |                                    ^
a.cc:10:14: error: extended character ” is not valid in an identifier
   10 |      printf (”%d\n ” , i ) ;
      |              ^
a.cc:10:17: error: stray '\' in program
   10 |      printf (”%d\n ” , i ) ;
      |                 ^
a.cc:10:20: error: extended character ” is not valid in an identifier
   10 |      printf (”%d\n ” , i ) ;
      |                    ^
a.cc:12:18: error: extended character − is not valid in an identifier
   12 | for( int= max( b − k + 1 , a + k ) ; i <= b ; i++)
      |                  ^
a.cc:13:13: error: extended character ” is not valid in an identifier
   13 |      printf(”%d\n ” , i ) ;
      |             ^
a.cc:13:16: error: stray '\' in program
   13 |      printf(”%d\n ” , i ) ;
      |                ^
a.cc:13:19: error: extended character ” is not valid in an identifier
   13 |      printf(”%d\n ” , i ) ;
      |                   ^
a.cc: In function 'int main()':
a.cc:7:7: error: '\U0000201d' was not declared in this scope
    7 | scanf(”%d%d%d ” , &a , &b , &k ) ;
      |       ^
a.cc:7:9: error: 'd' was not declared in this scope
    7 | scanf(”%d%d%d ” , &a , &b , &k ) ;
      |         ^
a.cc:9:9: error: expected unqualified-id before '=' token
    9 | for( int= a ; i <= min ( b , a + k − 1 ) ; i++)
      |         ^
a.cc:9:9: error: expected ';' before '=' token
    9 | for( int= a ; i <= min ( b , a + k − 1 ) ; i++)
      |         ^
      |         ;
a.cc:9:9: error: expected primary-expression before '=' token
a.cc:9:15: error: 'i' was not declared in this scope
    9 | for( int= a ; i <= min ( b , a + k − 1 ) ; i++)
      |               ^
a.cc:9:35: error: expected ')' before '\U00002212'
    9 | for( int= a ; i <= min ( b , a + k − 1 ) ; i++)
      |                        ~          ^~
      |                                   )
a.cc:9:41: error: expected ')' before ';' token
    9 | for( int= a ; i <= min ( b , a + k − 1 ) ; i++)
      |    ~                                    ^~
      |                                         )
a.cc:9:44: error: 'i' was not declared in this scope
    9 | for( int= a ; i <= min ( b , a + k − 1 ) ; i++)
      |                                            ^
a.cc:12:9: error: expected unqualified-id before '=' token
   12 | for( int= max( b − k + 1 , a + k ) ; i <= b ; i++)
      |         ^
a.cc:12:9: error: expected ';' before '=' token
   12 | for( int= max( b − k + 1 , a + k ) ; i <= b ; i++)
      |         ^
      |         ;
a.cc:12:9: error: expected primary-expression before '=' token
a.cc:12:17: error: expected ')' before '\U00002212'
   12 | for( int= max( b − k + 1 , a + k ) ; i <= b ; i++)
      |              ~  ^~
      |                 )
a.cc:12:44: error: expected ')' before ';' token
   12 | for( int= max( b − k + 1 , a + k ) ; i <= b ; i++)
      |    ~                                       ^~
      |                                            )