tag:blogger.com,1999:blog-5531960551406702359.post1915013812081099640..comments2024-03-29T12:14:02.680+05:30Comments on C Programming | Computer | Ms-Excel: Number Pattern of Half DiamondDinesh Berahttp://www.blogger.com/profile/17779626530091691900noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-5531960551406702359.post-36023890673410184082016-06-06T00:56:10.957+05:302016-06-06T00:56:10.957+05:30There is a difference between &array and &...There is a difference between &array and &array[0].<br />In point 2 it is mentioned that &array is an alias for &array[0].<br /><br />But &array indicates the address of the entire array where as &array[0] indicates the address of the first element in the array.<br /><br />for example<br /><br />int *p = &array; //gives a compiler error.<br /><br />where as<br /><br />int *ptr = &array[0]; // is perfectly legal.IGNOU Solved Questions and Answershttps://www.blogger.com/profile/08076511157067818307noreply@blogger.com