Question du test C++

Écrire un programme C++ qui affiche 3 X 3 = 1

Archivée

Following code is compiled to executable my ‘myprog’

int main(int argc, char **argv)
{
std::cout << argc - 1 << " X " << strlen(*(argv+1) + 2) <<  " = " <<  *(*(argv+1)+3);
std::cout<<std::endl;
return 0;
}

What would be the output if the following command is given to the operating system myprog C++11 is easy?

Auteur: Abha AgrawaStatut : ArchivéeQuestion passée 441 fois
-2
Évaluations de la communautéPersonne n'a encore évalué cette question, soyez le premier !