Skip to content

Instantly share code, notes, and snippets.

@manashmandal
Created May 27, 2016 05:58
Show Gist options
  • Save manashmandal/6c5c93748848f918ddabd8d18a5ff034 to your computer and use it in GitHub Desktop.
Save manashmandal/6c5c93748848f918ddabd8d18a5ff034 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
auto returnInt(void) { return 100; }
auto returnString(void) { return "Hello World"; }
auto returnDouble(void) { return 100.5; }
int main(int argc, char *argv[])
{
cout << returnInt() << endl;
cout << returnString() << endl;
cout << returnDouble() << endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment