void IncromentB(int *SomeValue)
{
   (*SomeValue)++;
}

main()
{
   int B;

   B = 0;
   IncromentB(&B);
}
