|
| Total Answers and Comments: 5 |
Last Update: February 15, 2007 Asked by: Anouar LACHHEB |
|
| | |
|
Submitted by: winny gupta the above code works fine. This is so because when the program runs, an array is internally converted to a pointer notation,i.e., *(a + 3) for a[3]. The same notation,i.e. *(a+3) is achieved for 3[a]. Hence, the above code works perfectly well. This is valid only in printf statement and not in the scanf statement.
Above answer was rated as good by the following members: sandesh k | Go To Top
|