Chrisis6937 Chrisis6937
  • 11-02-2018
  • Computers and Technology
contestada

Write an expression that whose value is the fifth character of the string name.

Respuesta :

roger48118
roger48118 roger48118
  • 11-02-2018
int j;
j="name"[4];
//   you   could  do
j=0;   //  since name   has four letters  the fifth  character is the terminating 0
now  if the string  name is  name
you   could do
j=name[4];  // or even    4[name] 

Answer Link

Otras preguntas

3 1 point When Atticus first addresses Mayella, almost immediately, some of Mayella's problems become clear. She is suspicious of Atticus. True False
how many isomers are possible for [cr(nh3)5(no2)]cl2? consider all possible types of isomerism and draw each isomer.
What is 4 1/2÷(−2 2/3)? Write the answer as a mixed number in simplest form. help plssss
What is the worst thing that a person can put on their bio on a dating app?
What is the solution to the equation 3 m 3 m 3 m/m2 9 m2 9?
Draw a Lewis structure for NHF2 in which the central N atom obeys the octet rule, and answer the following questions based on your drawing.The number of unshare
Lydia owns. Good truck that sells tacos and burritos. She only has enough supplies to make 115 tacos or burritos. She sells each taco for $4 and each burrito fo
Why is it not totally surprising that animals can suffer from emotional distress or mental illness?
What is a primary in government?
What is the y-intercept of the line?A. 1B. 1/2C. -2D. 0​