subject
Engineering, 24.08.2021 14:00 juliann5640

Show manual tracing of the following code segment and find output. char str1[7]={‘\0’};
charstr2[4]={‘\0’};
int i, k;
strcpy(str1, “CSE”);
strcpy(str2, “UIU”);
i=strlen(str1);
for(k=0; str2[k] !=’\0’; ++k)
str1[i+k]=str2[k];
puts(str1);
printf(“\n”);
strrev(str1);
puts(str1);

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 19:20
At steady state, air at 200 kpa, 325 k, and mass flow rate of 0.5 kg/s enters an insulated duct having differing inlet and exit cross-sectional areas. the inlet cross-sectional area is 6 cm2. at the duct exit, the pressure of the air is 100 kpa and the velocity is 250 m/s. neglecting potential energy effects and modeling air as an 1.008 kj/kg k, determine ideal gas with constant cp = (a) the velocity of the air at the inlet, in m/s. (b) the temperature of the air at the exit, in k. (c) the exit cross-sectional area, in cm2
Answers: 2
question
Engineering, 04.07.2019 19:20
To design a steam turbine to produce 12,000 hp power. a engineer comsiders using a steady state stean low st 1160fr and engineer considers using a steady state steam flow at 1160°r and 450 psia to drive this steam turbine. the exhaust of the steam is cooled by the lake (vacuum). heat losing to the surroundings is measured at a rate of 555.55 btu/s. (a) sketch the system with the given conditions. (b) neglecting kinetic and potential energy changes from inlet to exit, determine the volumetric flow rate of the steam at the inlet, (ft'/hr). must clearly show unit conversions at crtical terms.
Answers: 1
question
Engineering, 05.07.2019 04:30
Technician a says that in a worm gear steering system, most excessive steering free play is usually found in the gearbox. technician b says that in a rack-and-pinion steering system, excessive free play can be found in the bushings. who is correct?
Answers: 2
question
Engineering, 06.07.2019 02:30
An electric motor is used to drive a power press which makes steel turning moment diagrams 323 pressings from a metal sheet. the motor runs at a mean speed of 50 rev/s. the torque required is 10.0nm for 0.2s, followed by 1.0nm for0.3 s with this sequence then being repeated. what is the minimum power required of the motor and the moment of incrtia required for the t1ywhcel if the speed fluctuations are to be restricted to 1.5%?
Answers: 3
You know the right answer?
Show manual tracing of the following code segment and find output. char str1[7]={‘\0’};
char...
Questions
question
Chemistry, 20.08.2019 07:50
question
Physics, 20.08.2019 07:50
question
Mathematics, 20.08.2019 07:50
question
Mathematics, 20.08.2019 07:50
question
Social Studies, 20.08.2019 07:50
Questions on the website: 13722360