Thursday, January 20, 2011

Overview of C

Write a program that will print you mailing address in the following form:
First line        : Name
Second line    : Door No, Street
Third line       : City, Pin code
#include<stdio.h>
void main ()
{
printf("Name                   : Rajesh Kumar\n");
printf("Door No, Street   : S-94, 5\n");
printf("City, Pin code     : 110044\n");
getch();
}

No comments:

Post a Comment