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
Cuáles son los sentidos comunes que se pueden utilizar, para identificar un metal, gases o líquido
Vadim26 [7]

Answer:

A solid has definite volume and shape, a liquid has a definite volume but no definite shape, and a gas has neither a definite volume nor shape.

Explanation:

8 0
3 years ago
Why are scientists and engineers looking for ways to reduce our dependence on fossil fuels? Help
Alchen [17]
Fossil fuels when burned let out toxins and pollution in the air. Because of that scientists and engineers work together to find ways to not be so dependent on fossil fuels so we are not polluting our air.
8 0
3 years ago
For every 3 packages that Marcella wraps she uses 1/2 of a roll of wrapping paper if she uses 2 1/2 rolls of wrapping paper how
hram777 [196]
She wrapped 5 packages
6 0
3 years ago
Read 2 more answers
Seawater containing 3.50 wt% salt passes through a series of 11 evaporators. Roughly equal quantities of water are vaporized in
statuscvo [17]

Answer: the mass flow rate of concentrated brine out of the process is 46,666.669 kg/hr

Explanation:

F, W and B are the fresh feed, brine and total water obtained

w = 2 x 10^4 L/h

we know that

F = W + B

we substitute

F = 2 x 10^4 + B

F = 20000 + B .................EQUA 1

solute

0.035F = 0.05B

B = 0.035F/0.05

B = 0.7F

now we substitute value of B in equation 1

F = 20000 + 0.7F

0.3F = 20000

F = 20000/0.3

F = 66666.67 kg/hr

B = 0.7F

B = 0.7 * F

B = 0.7 * 66666.67

B = 46,666.669 kg/hr

the mass flow rate of concentrated brine out of the process is 46,666.669 kg/hr

8 0
4 years ago
A 0.3 m3 rigid tank initially contains refrigerant-134a at 14°C. At this state, 55% of the mass is in the vapor phase, and the r
Oksanka [162]

Answer:

I am a girl want private photos

Explanation:

8 0
3 years ago
Other questions:
  • Air is flowing steadily through a cooling section where it is cooled from 30 °C to 15 °C at a rate of 0.25 kg/s.
    15·2 answers
  • What are the Three parts to the energy control system
    8·1 answer
  • PLZ HELP ME!! Can someone plz give me a summary on engineering in 3-5 sentences.
    6·1 answer
  • The motor draws in the cord at B with an acceleration of aB = 2 m/s2 . When sA = 1.5 m , vB = 6.2 m/s .
    9·1 answer
  • What is the thermal efficiency of a gas power cycle using thermal energy reservoirs at 627°C and 60°C? The thermal efficiency is
    12·1 answer
  • 4. From two permeability tests it is found that the void ratio and hydraulic conductivity of a normally consolidated clay are 1.
    15·1 answer
  • Giving 100 points for answer plzz
    10·2 answers
  • What is 203593^54/38n^7
    6·1 answer
  • 2+2 = 900000000000000000000000000000000000
    7·1 answer
  • Join the pad let <br><br> https://pad let.com/56021812/8g75510tedza5v2a
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!