About 5,360,000 results
Open links in new tab
  1. C Pointers (With Examples) - Programiz

    Pointers (pointer variables) are special variables that are used to store addresses rather than values. Here is how we can declare pointers. Here, we have declared a pointer p of int type. You can also declare pointers in these ways. int * p2; Let's take another example of declaring pointers.

  2. C Pointers - GeeksforGeeks

    5 days ago · Pointers in C are variables that are used to store the memory address of another variable. Pointers allow us to efficiently manage the memory and hence optimize our program. In this article, we will discuss some of the major applications of pointers in C. Prerequisite: Pointers in C. C Pointers Appl

  3. Pointers in C Programming with examples - BeginnersBook

    Sep 24, 2017 · A Simple Example of Pointers in C. This program shows how a pointer is declared and used. There are several other things that we can do with pointers, we have discussed them later in this guide. For now, we just need to know how to link a pointer to the address of a variable.

  4. C Pointers - W3Schools

    A pointer is a variable that stores the memory address of another variable as its value. A pointer variable points to a data type (like int) of the same type, and is created with the * operator. The address of the variable you are working with is assigned to the pointer:

  5. Pointer Expressions in C with Examples - GeeksforGeeks

    Apr 25, 2025 · Let’s look at the example given below where p1 and p2 are pointers. Below diagram represents how exactly the expression/operators work with pointers. As seen in the diagram, pointers ‘pa’ and ‘pb’ point to integer variables ‘a’ and ‘b’ respectively.

  6. 11 C Programs and Code Examples on Pointers - Tutorial Ride

    11 Solved pointers based C Programming examples with output, explanation and source code for beginners. Covers simple and and advanced programs using dynamic memory allocation. Useful for all computer science freshers, BCA, BE, BTech, MCA students.

  7. Pointer programming exercises and solutions in C - Codeforwin

    Dec 23, 2017 · Practice these examples to learn concepts like pointer basics, arithmetic, pointer to pointers, function pointers etc.

  8. C programming exercises: Pointer - w3resource

    Mar 19, 2025 · Write a program in C to store n elements in an array and print the elements using a pointer. Test Data : Input the number of elements to store in the array :5

  9. C Array and Pointer Examples - Programiz

    In this article, you'll find a list of C programs related to arrays and pointers.

  10. Pointers in C/C++ programming with examples program

    Dec 27, 2021 · In this blog post, you will learn about the pointers in C/C++; what are pointers, what are types of pointers, how do you use pointers in C/C++ programming, how to apply a mathematical operation on pointers, and the common mistakes with pointers.

Refresh