There is a FILE* "sockfd" that provides a remote connection over a socket. What is the correct way to send the value of the int variable "data" across the connection?



A.write(sockfd, data, sizeof(int))



B.write(*sockfd, &data, 4)



C.write(sockfd, &data, sizeof(int))



D.write(*sockfd, data, 4)