Tag: programming languages

Questions Related to programming languages

  1. There is none; they both work as expected

  2. They both do nothing.

  3. The first will not invoke all myObj destructors

  4. It would'nt delete all the memory allocated to the objects


Correct Option: C
  1. cin.getline(x, 100, '\n');

  2. cin.getline(100, x, '\n');

  3. readline(x, 100, '\n');

  4. read(x);


Correct Option: A
  1. the number of arguments

  2. the number of arguments plus one

  3. the number of arguments minus one

  4. The total size of the argument array


Correct Option: B