Why the value of C is not changing when i use c=c++;
instruction.
Code
#include <stdio.h>
int main()
{
int t, c=0,d;
scanf("%d",&t);
while(t--)
{
int n;
scanf("%d",&n);
if(n>=50)
{
c=c++;
printf("%d\n",c);
}
}
return 0;
}