computer-Science-EngineerforcomputerScienceEngineercomputerscienceengineer.hashnode.net·Apr 7, 2023The reason why a char occupies 1 byte in C/C++ but 2 bytes in javaWhen it comes to programming languages, every language has its unique features and characteristics. One of the differences between Java and C/C++ that often confuses beginners is the difference in the amount of memory used for storing characters. In ...11 likes·64 readsJavaAdd a thoughtful commentNo comments yetBe the first to start the conversation.