Skip to content

Instantly share code, notes, and snippets.

@philtomson
Created March 7, 2014 17:32
Show Gist options
  • Save philtomson/9416006 to your computer and use it in GitHub Desktop.
Save philtomson/9416006 to your computer and use it in GitHub Desktop.
C++ Quiz #118
#include <iostream>
void print(char const *str) { std::cout << str; }
void print(short num) { std::cout << num; }
int main() {
print("abc");
print(0);
print('A');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment