[ create a new paste ] login | about

Link: http://codepad.org/eEWeJvo2    [ raw code | output | fork ]

appunti2 - C, pasted on May 2:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>
void funzione (int *x)
{
    (*x)++;
}
int main (void)
{
    int y = 10;
    funzione (&y);
    printf ("y = %i\n", y);
    getchar ();
    return 0;
}


Output:
1
y = 11


Create a new paste based on this one


Comments: