1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Anettt [7]
3 years ago
11

Overview In C, a string is simply an array of characters. We have used literal strings all along – the stuff in between the quot

es in a printf is a literal string. A literal string can be stored in a character array for later use, just as you would store the value 12 in an int variable. The string library string.h provides several functions for manipulation strings. In this week’s lab, you will see static and dynamic ways of storing strings, and write your own versions of the string library function strcpy(), which copies one string into another.
Engineering
1 answer:
salantis [7]3 years ago
3 0

#include<stdio.h>

#include<string.h>

 

int main() {

  char str1[100];

  char str2[100];

 

  printf("\nEnter the String 1 : ");

  gets(str1);

 

  strcpy(str2, str1);

  printf("\nCopied String : %s", str2);

 

  return (0);

}

You might be interested in
Ughhh my cramps hurt sm
kozerog [31]

Answer:

Explanation:Come

tomate

5 0
3 years ago
Read 2 more answers
What does this work for
Anastaziya [24]

Answer:

it allows your dash board to light up you MPH RPM and all the other numbers on the spadomter

Explanat

8 0
3 years ago
Which of the following factors does not promote safety in the shop?
sergey [27]
“Thinking about pleasant things to pass the time” would not promote safety in the shop because it would be taking the focus away from important tasks, which in turn decreases safety.
6 0
3 years ago
An o ring intended for use in a hydraulic system using MIL-H-5606 (mineral base) fluid will be marked with
Alex_Xolod [135]

An o ring intended for use in a hydraulic system using MIL-H-5606 (mineral base) fluid will be marked with a blue stripe or dot.

8 0
2 years ago
What phenomenon allows water to reach the top of a building?
Artemon [7]

Answer:

Option C: water pressure.

Explanation:

Water pressure allows water to reach the top of a building.

6 0
3 years ago
Other questions:
  • Which conditions are required for nuclear fusion to begin
    8·1 answer
  • A market research survey has 15 questions and will be sent to 500 people. What is the total cost to conduct survey if it has a $
    12·1 answer
  • 14. Tires are rotated to
    12·2 answers
  • WARNING:<br><br> when people put links in the answer it is a virus DO NOT DOWNLOAD IT
    15·2 answers
  • 3. A particle is projected to the right from the position S = 0, when an initial velocity of 8 m/s. If the acceleration of the p
    6·1 answer
  • How do you solve this. I dont know how so I need steps if you dont mind
    13·1 answer
  • What effect does air have on the acceleration of aircraft during flight?
    5·1 answer
  • What is the simplified meaning of the word "engineering"​
    6·1 answer
  • Motors are used to convert electrical energy into mechanical work and the output mechanical work of a motor is rated in horsepow
    9·1 answer
  • How are sedimentary - gravity flows different from fluid - gravity flows
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!