Hi all,
I have a doubt that id like to clear on
say in a program ur given something like this
does the value of the x change after incrementing it?Code:int x=1; int main() { .... then in a function : funct() { static int x =10; x++; printf("The value of x is %d", x); }
I mean isnt it static so it wouldnt change?
thanks for ur reply