c++cstandardsidentifier

Maximum length of identifiers in Turbo C++ and Dev-C++ for both C and C++ languages


What is the maximum length of variable identifiers of C and C++ in Turbo C++ and Dev-C++?


Solution

  • Dev-C++ uses the MinGW port of GCC (g++ for C++), hence it has an unlimited identifier length.

    Turbo C++: use the iN switch on tcc to get the maximum identifier length.