Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

address operator

// The output of this program can be different
// in different runs. Note that the program
// prints address of a variable and a variable
// can be assigned different address in different
// runs.
#include <stdio.h>
 
int main()
{
    int x;
 
    // Prints address of x
    printf("%p", &x);
 
    return 0;
}
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #address #operator
ADD COMMENT
Topic
Name
9+5 =