Typedef keyword with example



What will be output of following program?

void main()
{
typedef unsigned long int world;
world a=45;
printf(“%d”,a);
}
Output : 45

2 comments:

leona fassi said...

Thank you for sharing this. It was a great guide on how to blog properly. Articles you have it is very clear and detailed here.

PIC Bonus Singapore

leona fassi said...

Thanks for this article. It's just what I was searching for. I am always interested in this subject.

PIC Bonus Singapore