Create a Function in sql server without specifying return_data_type
You can't. 

The return datatype must be specified in a function. It is not an optional part of the grammar. You can return sql_variant though.