CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Month: February 2012

C Programming – Function Pointers in C

Pointers play a major role in C Programming. Writing code with pointers is more error-prone than code without pointers. Understanding pointers is a bit difficult. The simple thing about a pointer is, a pointer is a variable that holds an address like variables holds a value. That means pointers will not store any values rather […]

How to align div tags side by side?

An HTML <div>tag is used to define a section in an HTML document. This tag is more often used to create web-layouts. Some times, it is required to place two <div> tags side by side. As it is not straight forward, below steps are helpful to achieve this: Step 1. First, write the HTML code […]

C Programming – Pointer to Pointer

As we discussed in, Understanding of Pointers in C, pointers are address holders. Pointers point to an address of a variable, or a function or even it can point to another pointer. Through this article, we are going to discuss Pointer to Pointer concepts in C. A pointer to pointer points to an address of […]

C Programming – How to compare strings?

C library has string functions to compare whether the given strings are identical or not. strcmp library function This function takes two arguments, both are strings. Compare the strings and return 0 if the strings are identical; otherwise, this function returns a non-zero value. What is the meaning of non-zero value? When the first string […]

Scroll to top