Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

What is the difference between the following? int a(0); and int a = 0;

int a(0); is not legal code in C++ because int is not a class
int a(0) works in C but int a = 0 works both in C and C++
int a(0) calls the int ctor and int a=0 calls the operator= of the int class
int a(0) happens at compile time and int a=0 happens at runtime
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon