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
The human eye, as well as the light-sensitive chemicals on color photographic film, respond differently to light sources with di
jeka57 [31]

Answer:

a) at T = 5800 k  

  band emission = 0.2261

at T = 2900 k

  band emission = 0.0442

b) daylight (d) = 0.50 μm

    Incandescent ( i ) =  1 μm

Explanation:

To Calculate the band emission fractions we will apply the Wien's displacement Law

The ban emission fraction in spectral range λ1 to λ2 at a blackbody temperature T can be expressed as

F ( λ1 - λ2, T ) = F( 0 ----> λ2,T) - F( 0 ----> λ1,T )

<em>Values are gotten from the table named: blackbody radiati</em>on functions

<u>a) Calculate the band emission fractions for the visible region</u>

at T = 5800 k  

  band emission = 0.2261

at T = 2900 k

  band emission = 0.0442

attached below is a detailed solution to the problem

<u>b)calculate wavelength corresponding to the maximum spectral intensity</u>

For daylight ( d ) = 2898 μm *k / 5800 k  = 0.50 μm

For Incandescent ( i ) = 2898 μm *k / 2900 k = 1 μm

3 0
2 years ago
Base course aggregate has a target dry density of 119.7 Ib/cu ft in place. It will be laid down and compacted in a rectangular s
djyliett [7]

Answer:

total weight of aggregate =  5627528 lbs = 2814 tons  

Explanation:

we get  here volume of space to be filled with aggregate that is

volume = 2000 × 48 × 0.5

volume = 48000 ft³

now filling space with aggregate of the density that is

density = 0.95 × 119.7

density = 113.72 lb/ft³

and dry weight of this aggregate is

dry weight = 48000 × 113.72

dry weight = 5458320 lbs

we consider here percent moisture is by weigh

so weight of moisture in aggregate will be

weight of moisture = 0.031 × 5458320

weight of moisture = 169208 lbs

so here total weight of aggregate is

total weight of aggregate = 5458320 + 169208

total weight of aggregate =  5627528 lbs = 2814 tons  

3 0
2 years ago
Given the following Grammar and the right sentential form draw a parse tree and show the phrases, simple phrases and handle.S →
Shtirlitz [24]

Answer:

Find the answer in the attached in the order

Option a, Option c and Option b

Explanation:

4 0
3 years ago
Read 2 more answers
Steam enters the turbine of a power plant operating on the Rankine cycle at 3300 kPa and exhausts at 50 kPa. To show the effect
maw [93]

Answer:

Thermal efficiency of cycle = 0.314

Quality of exhaust steam = 0.959

Explanation:

3 0
3 years ago
Please look at the picture for question.
Vilka [71]

Answer:

more than 10 joules jjsjdnjdfjnfjfnjfnnfndnndjnfjgngjntjfjmrmdkdmjd

5 0
1 year ago
Read 2 more answers
Other questions:
  • What would happen to a plane if the weight force becomes greater than the lift force?
    12·2 answers
  • Determine the minimum force P to prevent the 30 kg uniform rod AB from sliding. The contact surface at B is smooth, whereas the
    13·1 answer
  • given the classes above, what output is produced by the following code? meg[] elements ={new Lois(), new Stewie(), new Meg(), ne
    15·1 answer
  • . A 10W light bulb connected to a series of batteries may produce a brighter lightthan a 250W light bulb connected to the same b
    8·2 answers
  • What are the units or dimensions of the shear rate dv/dy (English units)? Then, what are the dimensions of the shear stress τ= μ
    14·1 answer
  • The Danish scientist Niels Bohr proposed a model of the atom that is not totally accurate today but still contains components th
    12·1 answer
  • How many color are in da rainbow​
    5·2 answers
  • Which work practice should be followed to best prevent the ingestion of chemicals?
    7·1 answer
  • if both the ram air input and drain hole of the pitot system become blocked, the indicated airspeed will
    5·1 answer
  • when discussing valve train components, technician a says stamped rocker arms are very strong and may be used in high-horsepower
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!