Ad
  • Custom User Avatar

    The auto keyword in C++ automatically detects and assigns a data type to the variable with which it is used. The compiler analyses the variable's data type by looking at its initialization.
    so in my case maybe the compiler takes longer time to compile the code but if I write std::string or auto they will do the same job

  • Custom User Avatar

    Can you please tell me if using "auto" is not very resource intensive in large-scale codes?