Ask Question

Write a C program that displays your name and address (or if you value your privacy, a frictionless name and address)

+1
Answers (1)
  1. 13 January, 23:32
    0
    Following are the program in c language

    #include / / header file

    int main () / / main method

    {

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

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

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

    return 0;

    }

    Output:

    Name:mantasa

    Address:120 lal bangla mumba

    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.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write a C program that displays your name and address (or if you value your privacy, a frictionless name and address) ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers