Understand Programming
  • Home
  • Python
  • JavaScript
  • Swift
  • Testing
  • C/C++
  • SE
  • Android
  • About Me

C/C++

C++, A shining history with bright future

May 20, 2015 / Leave a Comment
DSC05495_pic

Story starts from failure. in 1969 a big project named Multics was in trouble. It was a joint venture between General Electric, MIT, and Bell Telephone Laboratories to build an operating system. This operating system was not fast and stable as per expectations so the Bell Lab staff withdrew from this project. Team of Bell … Continue Reading….

Posted in: C/C++, SE Tagged: Bjarne Stroustrup, C, Dennis Ritchie, history, Ken Thompson

Pointers and array

May 20, 2015 / Leave a Comment
gauge-110779_1280

This article will explain that why and how pointers and arrays are similar. There is a quick introduction about pointer constants and pointer variables because these terms are used in this article very often. The place where the address of a variable can be stored is called pointer variable and the address of that variable … Continue Reading….

Posted in: C/C++ Tagged: array, C, Pointers

Pointer to pointer

May 20, 2015 / Leave a Comment
DSC05511

In my previous blog  “Pointers. An indirect data access” we have discussed in a simple way that how you can access data by using pointers. Integer, character and double are different types of variables which can be declared and initialized in memory. int i; i = 20; char ch;  ch = ‘A’; We know that pointers are also variables … Continue Reading….

Posted in: C/C++ Tagged: array, C, pointer to pointer, Pointers

Pointer type casting

May 20, 2015 / 2 Comments

This article is the continuation of pointer arithmetic, If you are not familiar with pointer arithmetic then have a look on my article pointer arithmetic. Changing the behavior of one type of variable to another type is known as type casting. Have a look on following example double a = 10.5, b = 20.3; int … Continue Reading….

Posted in: C/C++ Tagged: C, Pointers, type casting

Pointer arithmetic

May 20, 2015 / 3 Comments

In pointers there are two arithmetic operations which can be performed. One is addition and second is subtraction. When you add some numbers in pointer it means that you are moving forward in memory and when you subtract some numbers then it means you are traversing back from that address where pointer is pointer at … Continue Reading….

Posted in: C/C++ Tagged: arithmetic, array, C, Pointers

What is 16-bits and 32-bits operating systems

May 20, 2015 / Leave a Comment

We all know that 1 bit (short for binary digit) is the smallest unit of data in memory and 1 byte is a collection of 8 bits. These two points are the base of this topic and to make it understand we take a real-time example. Suppose in Texas there is newly built housing society and … Continue Reading….

Posted in: C/C++ Tagged: 16 bits, 32 bits, operating systems

Pointer to constant and constant pointer

May 20, 2015 / Leave a Comment

Pointer to constant and constant pointer are bit confusing terms for some people but in this article I will try to make it clear. In my previous blog  “Pointers. An indirect data access” we have discussed in a simple way that how you can access data by using pointers. This topic is the continuation of the previous one (please have a … Continue Reading….

Posted in: C/C++ Tagged: arithmetic, array, C, constant pointer, Pointer to constant, Pointers
1 2 3 Next »

Search here:

Recent Posts

  • Python a quick introduction
  • What is Metadata
  • Git : On Your Finger Tips
  • Swift Fundamentals: An introduction
  • JavaScript Fundamentals: A quick introduction
April 2018
M T W T F S S
« Jun    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Copyright © 2018 Understand Programming.

Me WordPress Theme by themehall.com.