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

7h -7 = 5h + 13 solve
What is the ratio 55/132 written in word form and in lowest terms? A. 5 to 16 B. 5 to 12 C. 11 to 15 D. 11 to 13
What distinguished American patriots and American loyalists? a. American patriots were second- or third-generation Americans, while American loyalists were rece
which sentence is in natural order? -Are the tomatoes ripe yet? -Ask the farmer if he has any corn. -Do you have any fresh eggs for sale -Behind the weathered b
does a fox belong to the phylum Arthropoda?
After Joseph, Mary and Jesus left Bethlehem, they went to what country?
who was the wampanog indian that taught the pilgrims how to grow corn?
into what group would humans be classified?
What is the slope, and what is the y-intercept of the line? y = 5/4x + 9 slope = ______ y-intercept = _______
The year 1789 is an important date in the history of civilization. because why??