Client APIs
API Reference Overview
Returns the column name of the specified column. The result should not need to be freed; the column names will
automatically be destroyed when the result is destroyed.  
Returns `NULL` if the column is out of range.  
###### Syntax {#docs:api:c:api::syntax}  
```c
const char *duckdb_column_name(
duckdb_result *result,
idx_t col
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `result`: The result object to fetch the column name from.
* `col`: The column index.  
###### Return Value {#docs:api:c:api::return-value}  
The column name of the specified column.  
<br>