Client APIs
API Reference Overview
Returns the column type of the specified column.  
Returns `DUCKDB_TYPE_INVALID` if the column is out of range.  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_type duckdb_column_type(
duckdb_result *result,
idx_t col
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `result`: The result object to fetch the column type from.
* `col`: The column index.  
###### Return Value {#docs:api:c:api::return-value}  
The column type of the specified column.  
<br>