Search
 
SCRIPT & CODE EXAMPLE
 

C

doble puntero en c

#include <stdio.h>
int main() 
{
    int i;
    int *ptrToi;           /* Puntero a entero */
    int **ptrToPtrToi;     /* Puntero a puntero a entero */

    ptrToPtrToi = &ptrToi; /* Puntero contiene dirección de puntero */
    ptrToi = &i;           /* Puntero contiene dirección de entero */

    i = 10;                /* Asignación directa */
    *ptrToi = 20;          /* Asignación indirecta */
    **ptrToPtrToi = 30;    /* Asignación con doble indirección */

    return 0;
}
Comment

PREVIOUS NEXT
Code Example
C :: c typedef 
C :: malloc basics 
C :: memcpy in c 
C :: stack push 
C :: bubble sort 
C :: gcd and lcd in c 
C :: how compress string in c 
C :: multiplication of matrix in c 
C :: how to empty array in c 
C :: create node in c 
C :: debian unhold packages 
C :: to execute a program using C 
C :: powershell search big files 
C :: c str add int 
C :: Program to print all palindromes in a given range 
C :: c size_t 
C :: c command line arguments parser 
C :: how to print logs when doing unit-testing in rust 
C :: increment pointer value in c 
C :: convert python to c 
C :: git add -u flag 
C :: Highest integer among the four inputs in c 
C :: While loop output 
C :: Combine two sentences into one langage c 
C :: Computers round off numbers 
C :: buble sort in c that ask user input 
C :: visa germany algeria 
C :: 50 north main 07522 
C :: wap in c to input n numbers in an array, find out the sum of odd nos. and even nos. display the numbers whose sum is high. 
C :: Laravel installation on Linux 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =