#include <iostream>
using namespace std;
void f(int test)
{
 try{
  if(test)
   throw test; // int를 던짐
  else
   throw "Value is zero"; // char형 pointer를 던짐
 }
 catch(int i) {
  cout << "Caught One! Ex. #: " << i << '\n';
 }
 catch(char *str) {
  cout << "Caught a string: ";
  cout << str << '\n';
 }
}
int main()
{
 cout << "start\n";
 f(1);
 f(2);
 f(0);
 f(3);
 cout << "end";
 return 0;
}

코드는 이건데 f(0)요기서는 왜
"Caught a string:Value is zero "
이문장이 출력됨??? 0도 int값아님??