Question: Easy Question about C Programming. Hello, I just need some reassurance since it's been a while but why am I not passing a pointer again

Easy Question about C Programming.

Hello, I just need some reassurance since it's been a while but why am I not passing a pointer again to the function within the function, when it clearly is asking for a pointer in the function definition(note this is working I am running through a Udemy course and it all works perfectly) Is it because it was passed through the first outer function as a pointer, so it does not need to again be redeclared as a pointer? See images below.

Easy Question about C Programming. Hello, I just need some reassurance since

Definition of Inner Functionit's been a while but why am I not passing a pointer

static esp_err_t http_server_jquery_handler(httpd_req_t *req) \{ ESP_LOGI(TAG, "Jquery requested"); httpd_resp_set_type(req, "application/javascript"); //Notice h httpd_resp_send(req, (const char*) jquery_3_3_1_min_js_start, jque return ESP_OK; esp_err_t httpd_resp_set_type(httpd_req_t , const char type)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!