英文题目,求解释
Change the program below to print “I love programming”. You should do this by using the values in love text to change hate text. Hint: think about the relationship between the index values of the letters in love and the index values for the word hate.This can be done without creating any new variables.
#include<stdio.h>
int main(void)
{
int i;
char hatetext[]= "I hate programming.";
char lovetext[]= "love";
/*Your code goes here.*/
printf("%s\n",hatetext);