This is my code:

Code:
int main()
{  
    int num;


    printf("Please enter a number: ");
    scanf("%d", num);


    printf("%d\n", num);


    return 0;
}
when i compile and run it, it stops working and doesn't printf the integer.