How to print absolute path of a file with ‘ls’?

Most often while creating shell scripts, you may fall in need of fetching a list of files with absolute path. By default, the output of 'ls' command contains relative paths of the files and directories. This post will shed some light on how to use 'ls' such that the output contains absolute path of files and directories.