Semantic differences in Algol and C in casting
问题 Suppose we have the following instructions in Algol 68 and C, respectively: ref int x := 5; and (int*) x = 5; . What are their semantic difference?, it's the same?, because I think that the second one says something like "x will point to a constant" (it can't be compiled) and the first one says "x will point to a memory cell that points to another memory cell that contains a constant, 5". Is it correct?, if not, can you explain it a bit and give some examples to understand this? 回答1: I don't