How to use arithmetic operator with pointers

Pointer arithmetic in C programming

Sometimes we need to perform arithmetic operations on pointers. But before using arithmetic operators with pointers we need to understand that we can not use each arithmetic operators with pointers. Pointer arithmetic is slightly different from arithmetic we normally use in our daily life.   We also need to remember that we cannot use the

Pointer arithmetic in C programming Read More »

socket programming in c

Socket programming in c using TCP/IP

Before you start learning socket programming in C, you should basic knowledge of IP addresses, TCP, and UDP. In this article, I shall describe TCP/IP and write a socket program using the TCP/IP API. TCP (Transmission control protocol) A TCP (transmission control protocol) is a connection-oriented communication. It is an intermediate layer of the application

Socket programming in c using TCP/IP Read More »