WHAT'S NEW?
Loading...

A simple program from 'C' language.

We are going to see a very simple from "c" language:->>>


#include
#include
void main()
{
  int a;
  float b;
  char c;
  a=10;
  b=10.10;
  c='C';

  printf("Integer number   :%d",a);
  printf("Float numbre     :%f",b);
  printf("Character        :%c",c);

  getch();
}



Here in above program we are taken three types of variable:integer,float and character
we assign values to that variables
and we print that variables at last.

0 comments: