use integer as variable

could anybody make program in which integers are used as variable and use it in any operation?

This program uses int variable types.Could you add more details about the question if this is not what you expect.

Do you mean variable name with integer value? eg: int a5,a98 ??
Something like this?


int a ,b,c;
printf(" enter two no \n"); // int a ,b,c variables!!! ‘//’ is a comment
scanf(" %d%d",&a,&b); // we have used %d which means the variable is a integer and & means the address of operator ie the value of which integer ans ‘a’ and ‘b’
the value of a and b gets added up and the total value goes to ‘c’ which means in ‘=’ value moves from right to left
printf(" sum is %d",c);