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 →

Advertisements

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 →

Static and Dynamic Linking (Part I)


Linking is the process of combining multiple object files into a single executable that can be used to start the application. Linking is the last phase of compilation process and deals with the object files(binary) rather than actual source code files. Object files are binary in nature and contain the assembly language representation of all... Continue Reading →

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: