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
Inspections may be_____ or limited to a specific area such as electrical or plumbing
Nuetrik [128]
A is the answer for the sentence
4 0
3 years ago
Technician A says that weld-through primer can be removed from the immediate weld area to improve weld quality. Technician B say
lisabon 2012 [21]

Answer:

83737373777473737373738388383838

4 0
3 years ago
16. Which polymers are recyclable?
MrRissso [65]

Answer:

Number 2 is HDPE, or High-Density Polyethylene. It is most commonly found in plastic bags, oil and detergent bottles, and toys. It is one of the simplest polymers to recycle. It is broken down into flakes, decontaminated and then reused for pipes, flower pots or reused as (non-food) bottles.

8 0
3 years ago
A fair die is thrown, What is the probability gained if you are told that 4 will
Semmy [17]

Answer:

1/6

Explanation:

A dice has 6 sides, the probability of 4 appearing is 1/6.

7 0
3 years ago
When servicing an air bag system, Technician A probes the electrical connectors on the air bag module with a test light; Technic
Fantom [35]
Technician A Is correct
7 0
3 years ago
Other questions:
  • A 12-kN tensile load will be applied to a 50-m length of steel wire with E = 200 GPa. Determine the smallest diameter wire that
    6·1 answer
  • Write a SELECT statement that returns the same result set as this SELECT statement. Substitute a subquery in a WHERE clause for
    10·1 answer
  • deep-sea trench under the ocean is MOST similar to a _____ on land. A. plateau or plain B. valley or canyon C. peak or mountain
    12·1 answer
  • Tech A says that thrust angle refers to the direction the front wheels are pointing. Tech B says that scrub radius refers to the
    8·1 answer
  • A gas contained within a piston-cylinder undergoes the follow change in states: Process 1: Constant volume from p1 = 1 bar V1 =
    9·1 answer
  • What makes building an airplane while flying so difficult?
    5·1 answer
  • LET'S DO THIS! Here are the directions whoever answers first will get the brainliest! I Promise!
    12·1 answer
  • Acme Logistics provides "Less than truck load" (LTL) services throughout the U.S. They have several hubs where they use cross-do
    11·1 answer
  • Does a song need separate mix and mastering engineers?.
    6·1 answer
  • A particle moving on a straight line has acceleration a = 5-3t, and its velocity is 7 at time t = 2. If s(t) is the distance fro
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!