Write a client and server program in C language using UDP,
where client program interact with the Server as given
below:

i) The client begins by sending a request to send a
string of 8 characters or series of 7 numbers, the server
sends back a characters or numbers as per the request of
the client.
ii) In case of series of 7 numbers: The client sends a
multiplication of numbers, to the server.
iii) In case of a string of 8 characters: The client sends
a reverse order of string to the server..
iv) Server will send an acknowledgment to the client after
receiving the correct answer


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

name the language for writing c compiler?

3 Answers   Microsoft,


What is a pragma?

0 Answers  


What is assert and when would I use it?

0 Answers  


Which of the following is not an infinite loop ? a.while(1){ .... } b.for(;;){ ... } c.x=0; do{ /*x unaltered within theloop*/ ... }while(x==0); d.# define TRUE 0 ... while(TRUE){ .... }

7 Answers   TCS,


What is floating point constants?

0 Answers  






i want to make a program in which we use input having four digits(4321) and get output its reciprocal(1234).

1 Answers  


What are keywords in c with examples?

0 Answers  


Explain what is #line used for?

0 Answers  


What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }

8 Answers   ADITI, Adobe,


What does %p mean c?

0 Answers  


write a c program for greatest of three numbers without using if statment

4 Answers   IBM,


When we use void main and int main?

0 Answers  


Categories