20.5k views
3 votes
Write a C program that displays your name and address (or if you value your privacy, a frictionless name and address)

User TarasB
by
5.9k points

1 Answer

7 votes

Answer:

Following are the program in c language

#include <stdio.h> // header file

int main() // main method

{

char name[90]="mantasa"; // storing name

char add[90]="120 lal bangla mumbai"; // storing address

printf("\\ Name:%s\\Address:%s",name,add); // print name and address

return 0;

}

Output:

Name:mantasa

Address:120 lal bangla mumba

Step-by-step explanation:

In this program we are declaring the two array of char type which will store the name and address . after that we display name and address.

User ChrisHaze
by
5.4k points