diff options
Diffstat (limited to '2p10.cpp')
-rw-r--r-- | 2p10.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2p10.cpp b/2p10.cpp new file mode 100644 index 0000000..394a0f8 --- /dev/null +++ b/2p10.cpp @@ -0,0 +1,24 @@ +#include <iostream> +#include "sales_item.hpp" + +/* + * + * 2.10 + * + * + */ + +std::string gl_string; // "" +int gl_val; // 0 + +int main () { + + std::string l_string; // "" + //int l_val; // Undefined behavior + + std::cout << gl_string << std::endl; + std::cout << gl_val << std::endl; + std::cout << l_string << std::endl; + //std::cout << l_val << std::endl; + return 0; +} |