3 questions · 3 answered
C++ questions
Questions asked by learners preparing for interviews and placements, answered by other members. Ask your own and it appears here too.
- 2answers 3votes printf("%d", sizeof('a')) output? quiz said 4 but char is 1 byte? C++aman khan·29 days ago
- 2answers 7votes unordered_map got hacked on codeforces same solution with map passed. how is O(log n) beating O(1) C++Karthik Rajan·1 month ago
- 1answer 4votes sizeof a reference in C++? Quiz said sizeof(reference) gives the size of the referred type. I guessed it right but don't understand why. Does a reference take memory or not? C++Rahul Yadav·1 month ago
Learn C++ properly
Structured lessons on DSA, core CS, Java and interview skills, each ending in a quiz so you know it stuck.