gabe4658 gabe4658
  • 14-09-2019
  • Computers and Technology
contestada

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

Respuesta :

StaceeLichtenstein StaceeLichtenstein
  • 16-09-2019

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("\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.

Answer Link

Otras preguntas

When planning a workout tor muscular endurance, youll need tewer workouts to reach your goal if you do compoun exercises. True of false?
Which of the following is true regarding Georgia’s role during world war |
In an economy in which decisions are guided by prices and individual self-interest, there isa. the potential to achieve efficiency in production.b. a strong nee
The discoverer of radioactivity was
Which options identify sections of the ocean floor? Check all that apply. deep ocean open ocean neritic zone shallow ocean transition zone
what does the talk test measure
Which of the following is not true about red blood cells? - they transport oxygen to cells - they contain hemoglobin - they contain DNA - they transport car
Roseau believed that
How many major tectonic plates are there on earth?
which of these statements best describes the modern era