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

When might it be easier to write the percent as a fraction rather than as a decimal? Please give an example
What role did the NAACP play in the early civil rights movement? A)It commissioned Gunnar Myrdal’s report on black life, An American Dilemma. B)It urged Presid
Which of the following is the best definition of a population? A. A group of individuals that can interbreed and produce fertile offspring B. The
Cream of tartar has a pH that is (acidic or basic)
77,098 rounded to the nearest thousand
The 1911 Chinese Revolution ended the rule of the _____? -manchus -ming -song -mongolians
what weather variable is a direct result of the force of gravity on earth's atmosphere?
What is the modern name of Aegyptus
what is speed that does not vary called? Motion, Distance, Displacement, Instantaneous speed, or constant speed?
Which statement about the relationship between Native Americans and colonists is true? A.They signed and kept peace treaties. B. Each group admired the other