HF RL Explorer

Task: Determine the Default C Standard Version Used by GCC

Task: Determine the Default C Standard Version Used by GCC: a task in Terminal-Lego-15k (Harbor dataset). Write a shell script that programmatically determines which C standard (e.g., c89, c90, c99, c11, c17, c23) is used by default when compiling with gcc (or cc ) without explicitly specifying a…

The task

Write a shell script that programmatically determines which C standard (e.g., c89, c90, c99, c11, c17, c23) is used by default when compiling with `gcc` (or `cc`) without explicitly specifying a `-std=` flag.

Part of PrimeIntellect/Terminal-Lego-15k.