JiWilliams3547 JiWilliams3547
  • 25-12-2020
  • Computers and Technology
contestada

Write query to display 5 characters from the 2 nd left character onwards of the string ‘Practices'.

Respuesta :

PhantomWisdom PhantomWisdom
  • 28-12-2020

The following code is in C++

#include<iostream>

using namespaces std;

int main( ){

    char c[] = "Practices";

    for( int i =1 ; c[i] != '\0' ; c++ )

    {    

         cout<<c[i];

    }

    return 1;

}

The following code will print : ractices .

Hence, this is the required solution.

Answer Link

Otras preguntas

(02.05 MC) Lee la selección e identifica el verbo que está en la forma de mandato incorrecto. Elige la opción con el mandato incorrecto. Read the selection and
What type of tissue shortens to perform its function?
Identify the form of the word octopus’s.plural, singular, plural possessive, singular possessive
A long, thin, oblique muscle of anterior thigh a. Sartorius b. Masseter
A spindle apparatus is associated with a. compact bone b. metaphase c. syndesmoses d. spongy bone
what is “The Fish” about?
v=u+at u=2 a= -5 t=1/2 work out the value of v.
I WILL GIVE 99 POINTS FOR A 12 MARK ANSWER!!! Which of the following was the more important reason why the Weimar Republic was in danger in the years 1919–1923:
Find the number of subsets of the set (4,5,6)
what is the result of a mutation during meiosis​