networking · beginner · ~15 min
Recognise the default TLS/HTTPS port.
Implement int is_https_port(int port) returning 1 if port is 443, else 0.
int is_https_port(int port) {
/* TODO */
return 0;
}
Solve this exercise in the browser editor — compile and run against the test harness, no setup required.