Define two variables in a program - C Language Basics

C examples for Language Basics:Variable

Description

Define two variables in a program

Demo Code

#include <stdio.h>

int main(void){
  int int_one;
  int int_two;

  int_one = 1;// w w  w.j a  v  a  2s.  c om
  int_two = 1;

  printf("%d is int_two and %d is int_one\n", int_two, int_one);
  return 0;
}

Related Tutorials