Write a C program to define new data type.
Menu
Turn Mobile View Off
by Dinesh Thakur

 

 

#include<stdio.h>

#include<conio.h>
typedef signed char smallint;
void main(int)
{
smallint i;
for(i = 0; i < 10; i++)
printf("%d ", i);
getch();
}
Dinesh Thakur is a Technology Columinist and founder of Computer Notes and Technology Motivation. Turn Mobile View Off