C pointer


  Translation results:

C language is a general-purpose, procedural computer programming language. In 1972, Dennis Ritchie designed and developed the C language at Bell Telephone Laboratories in order to port and develop the UNIX operating system.

The C language is a widely used computer language that is as popular as the Java programming language, and both are widely used among modern software programmers.

C pointersyntax

Pointers can simplify the execution of some C programming tasks, and some tasks, such as dynamic memory allocation, cannot be performed without pointers.

C pointerexample

#include <stdio.h>
int main (){
int var1; char var2[10];
printf("The address of the var1 variable: %p\n", &var1 );
Printf("The address of the var2 variable: %p\n", &var2 );
Return 0;}

Popular Recommendations

Home

Videos

Q&A