What's the main difference between two operators in the codes

Code:
#include<stdio.h>

int main ()
{
   int A = 1;
    A++;
   
   printf(" A = %d ", A);


    return 0;	
}
Output : A = 2

Code:
#include<stdio.h>

int main ()
{
   int A = 1;
    ++A;
   
   printf(" A = %d ", A);


    return 0;	
}
Output : A = 2

Both operators gives same output