Originally Posted by sushil2993
I have written a c program named xyz.c
I want to see xyz.exe after linking. So what exact command i have to give for linking to see this file
Your question is ambiguous.
If you want the binary to be named "xzy.exe"
gcc -o xyz.exe xyz.c
If you want to explore the binary, have a look at the objdump and readelf commands after linking.