Are the following two statements semantically same?

Posted by Rahul G on Stack Overflow See other posts from Stack Overflow or by Rahul G
Published on 2010-03-17T09:37:15Z Indexed on 2010/03/17 9:41 UTC
Read the original article Hit count: 508

Filed under:
|
|

Are the following two statements semantically same?

#1 person p("Rahul", 20);

#2 person const &p = person("Rahul", 20);

© Stack Overflow or respective owner

Related posts about c++

Related posts about semantics