avatar
Rohan Rai
0

Codes

1

Answers

Code compilers

Top answers

0
Static Storage class in C
February-08-2022
#include<stdio.h>
 static int out;
 //global static variable implicitly initialized to 0
 void main(){
 static int in = 10;//local static variable explicitly ini to 10
 printf("global: %d, local: %d", out, in);
  }