TCP Socket Programming (multi-client)- CRC

Set up a multi-client TCP server. The client will take the user’s data word and divisor and send them to the server. Using CRC, the server will…

Program to determine the Class, Network ID, Host ID, Broadcast ID, and Default Mask ID of an IPv4 address

Input an IPv4 address. Create a C program that checks which class it belongs to. In addition, print comments for the network address, the host address, the…

TCP Socket Programming (single client)- Bit Stuffing

Write C programs to implement TCP Socket. The client will take a bit stream from the user and send it to the server. The server will implement…

Client-Server application using Unix File Socket communication in C

Write C programs to implement a simple Client-Server application using Unix File Socket communication. A client will send N integers to the server, which will sort them…

IPC using Message Queues

Take a decimal number from the user. Convert it to different bases (e.g: 2,8,16 etc.) and send those values to the message queue. Write three separate programs…

Take discount or Not

There are NN items in a shop. You know that the price of the ii-the item is AiAi. Chef wants to buy all the NN items. There is also a discount coupon that…

Difficulty Rating Order

CodeCheffers are aware that after a contest, all problems are moved into the platform’s practice section. Based on user submissions during the contest, the system calculates and assigns…

Whatsapp Messages

The chef recently installed Whatsapp on his mobile device. Currently, he has no unread messages. Every hour, he receives XX messages and he is able to read YY messages out of…

Doubt Support Availability

On the CodeChef Practice page, problems with difficulty ≤1600≤1600 now have Doubt Support — you can go to the problem page and get your queries answered by an experienced CodeChef…

C & MATLAB Program of Runge-Kutta (RK4) Method

As we know, Taylor’s series is a numerical method used for solving differential equations and is limited by the work to be done in finding the derivatives…