Given that $$ in the below given bash script represents the process ID of the current script.
echo $$ - (i) echo $(echo $$) - (ii)
What can be said about the output produced by (i) and (ii)?
Options
- Output of (i) and (ii) are same.
- (i) throws an error while output of (ii) is an integer.
- (ii) throws an error while output of (i) is Integer.
- Both (i) and (ii) throw an error