Q:

What are the values in the following arrays?

0

What are the values in the following arrays?

string sa[10];
int ia[10];
int main() {
string sa2[10];
int ia2[10];
}

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

#include <string>
using std::string;

string sa[10];  // ten elements of empty string
int    ia[10];  // ten elements of 0

int main() {
  string sa2[10];  // ten elements of empty string
  int    ia2[10];  // ten elements of undefined value
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now