Hi Kalyan,
None of them is incorrect.
The first one will display the right record number when the report has a group, group sort etc.
The second one will show the right numbers as long as the report doesn't have a group sort or group selection formula.
What are your trying to do anyway?
-Abhilash