Programe in static variable using
#include <stdio.h>
int main() {
auto int a = -52;
static int b = 12;
printf("The value of auto variable : %d\n", a);
printf("The value of static variable b :%d\n",b);
if(a!=0)
printf("The sum of static variable and auto variable : %d\n",(a+b));
return 0;
}
Output:
Here is the output
The value of auto variable : -52
The value of static variable b : 12
0 Comments
à°®ీà°•ు edit à°šేà°¸ి à°«ొà°Ÿోà°¸్, à°µీà°¡ిà°¯ోà°¸్, à°‡ంà°•ా à°¦ెà°¨ి à°—ుà°°ింà°šి à°…à°¨్à°¨ా ఇన్à°«à°°్à°®ేà°·à°¨్ à°•ాà°µాà°²ీ à°…ంà°Ÿే Plz comment à°šేà°¯ంà°¡ి