Advertisement
Guest User

Untitled

a guest
Jan 16th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. struct Drugstore
  4. {
  5. char *pills;
  6. char *pills_2;
  7. };
  8. int main()
  9. {
  10.  
  11.  
  12. Drugstore ob1;
  13. ob1.pills = "Modafinil";
  14. ob1.pills_2 = "Lirika";
  15. if (ob1.pills != ob1.pills_2)
  16. {
  17. std::cout<<"BAN NAHUI"<<std::endl;
  18.  
  19. }
  20.  
  21. std::cout<<ob1.pills<<std::endl;
  22. std::cout<<ob1.pills_2<<std::endl;
  23.  
  24.  
  25.  
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement