iostream> void swap(int* a, int* b) { int temp = *a; *a = *b; *b = temp; } void swap(char* a, char* b) { char temp = *a; *a = *b; *b = temp; } void swap(double* a, double* b) { double temp = *a; *a = *b; *b = temp; } int main(void) { int num1 = 20, num2 = 30; swap(&num1, &num2); std::cout