Questions tagged [lecture4]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

According to CS50 Lecture 4 on Memories, my code should not be able to compare two strings and print“same”. But it does print “same”. Why?

Was expecting it print out "different" since I've created 2 different variables and stored the same values MANUALLY TYPED OUT. According to lecture 4, strings are pointers and when compared, ...