Answers for "varible c"

C
0

variables in c

#include <stdio.h>
void function(){ 
int x = 20;//local variable 
static int y = 30;//static variable 
x = x + 10; 
y = y + 10; 
printf("\n%d,%d",x,y); 
} 
int main() {
 
  function();
  function();
  function();
  return 0;
}
Posted by: Guest on January-18-2022

Code answers related to "C"

Browse Popular Code Answers by Language