C Programming Language - Quiz

  • Ac = 1;
  • B c = 2;
  • Cc = 3;
  • D c = 4
  • Aint num[6] = { 2, 4, 12, 5, 45, 5 };
  • Bint n{} = { 2, 4, 12, 5, 45, 5 };
  • Cint n{6} = { 2, 4, 12 };
  • Dint n(6) = { 2, 4, 12, 5, 45, 5 };
  • APerforming arithmetic operations on the values of pointers
  • BPerforming arithmetic operations on the memory addresses stored in pointers
  • CConverting pointers to integers and performing arithmetic operations on them
  • DConverting integers to pointers and performing arithmetic operations on them