aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C++ Programming Fundamentals Quiz
  • C++
Multiple choice technology programming languages

C++

  1. int main()

  2. int main(int argc, char *argv[])

  3. They both work

  4. None of the Above

Reveal answer Fill a bubble to check yourself
C Correct answer

Keep practicing — related questions

  • Which of the following is not a valid declaration for main()?
  • In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually corr...
  • int main(int argc,char* argv[]){ int *ptr=new int; if(ptr==NULL) exit(1); char *j; for(int i=1; i<=4; i++) ...
  • C++ main() { cout << "Hello World!"; return 0; }
  • Will following program execute successfully ? int main(int argc,char* argv[]){ int *ptr=new int; if(ptr==NU...
  • What will happen? int main(int argc, char**argv) { char* ptr = NULL; free(ptr); return 0; }
  • What is the return type of main() ?
  • #include int main() { int main=7; printf("%d",main); }
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Output Evaluation (1721 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy