Multiple choice technology programming languages

How will you read executable file ?

  1. None

  2. file <exefile>

  3. ./a.out

  4. strings <exefile>

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The strings command extracts and displays printable ASCII/Unicode strings from binary files, making it ideal for examining compiled executables to see embedded text, error messages, and configuration paths without executing code. file command only shows file type, ./a.out executes the binary, and None is meaningless.