C ++ is able to input and output existing data types by using thread extraction operators >> and thread insertion operators
C ++ allows data types char, int and double to have Modifiers placed before them. A Modifier is used to inform the meaning of the base type, making it more accurate with the
The Storage Class defines the scope and life of variables and / or functions within a C / C ++ program. They often precede the type of data they impact.
An operator is an icon, which tells the compiler to perform specific mathematical and logical operations. C ++ provides many available operators.
There is a situation where you need to make a code a few times. In general, statements are executed sequentially.
Flow control structures require the programmer to determine one or more conditions to be evaluated and checked by the program, along with the commands to be executed if the
A function is a group of commands that go together to perform a task. Each C / C ++ program has at least one function, main (), and all most normal programs define additional
The method calls the function by the value of the parameters passed to a function that copies the actual value of a parameter into the official argument of the function. In this
The method of calling a function by pointer in C ++ passes parameters to a function, copying the addresses of a parameter into the official parameter. Inside the function, this
The method of calling a function by reference of parameters passed to a function copies the address of a parameter into the official parameter. Within that function, the address
Normally, when we work with Number (numeric types), we use the original data types such as int, short, long, float and double, ... Digital data types, values possible and their
C / C ++ programming language provides data structures called arrays, stored in a set of data of the same type with fixed length. An array is used to store data sets, but it is
This form of string originates from C language and continues to be supported in C / C ++. The string in the C programming language is essentially a one-dimensional array of
Pointer - Pointer in C / C ++ language is easy to learn and interesting. Some tasks in the C / C ++ language are made easier by pointers, and other tasks become more flexible,
It is always a good practice to assign a NULL pointer to a pointer variable in case you don't know the exact address to be assigned. This is done at the time of variable
As explained in the main chapter, the cursor in C / C ++ is an address, which is a numeric value. Therefore, you can perform arithmetic operations on a pointer as you would with
Pointers and Arrays are closely related. In fact, pointers and arrays are interchangeable in some cases.
Before we understand the concept of pointer arrays, we consider the following example, which uses an array of 3 integer numbers.
A pointer to a cursor is an unidirected form or a string of pointers. Typically, a pointer contains the address of a variable.
C ++ allows you to pass a pointer to a function. To do this, you simply need to declare the function parameter as in a pointer type.