Pointer World !!

In this post, I will just give a brief overview of using pointers in several ways in our C/C++ programs. Pointer is sort of a known concept. Hence, the post will be focusing on the usage in various scenarios like arrays, strings, structs, functions along with code examples. Pointer to Pointer Pointers and Arrays Array... Continue Reading →

Pre/Post Increment Operators and Performance Differences

Let's say we want to print the numbers from 0 to 9. How do we do that ? int i=0; for (i=0; i<10; i++) { printf("%d \t", i); } How about writing the same for loop as below ? int i=0; for (i=0; i<10; ++i) { printf("%d \t", i); } Is there any difference between... Continue Reading →

Create a free website or blog at WordPress.com.

Up ↑