Answers for "what is a variable in c programming"

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
0

variable in c

//this how you can make variable in c
int a;
int b = 4;

float n = 56.7;
Posted by: Guest on January-12-2022

Code answers related to "what is a variable in c programming"

Code answers related to "C"

Browse Popular Code Answers by Language