Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- struct Drugstore
- {
- char *pills;
- char *pills_2;
- };
- int main()
- {
- Drugstore ob1;
- ob1.pills = "Modafinil";
- ob1.pills_2 = "Lirika";
- if (ob1.pills != ob1.pills_2)
- {
- std::cout<<"BAN NAHUI"<<std::endl;
- }
- std::cout<<ob1.pills<<std::endl;
- std::cout<<ob1.pills_2<<std::endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement