#include <stdio.h> #include <stdlib.h> int main() { int i=0; char s[1000],temp[1000]; scanf("%s",s); while(s[i+2]!='\0') { temp[i]=s[i+1]; i++; } temp[i]='\0'; printf("%s\n",temp); return 0; }
0-
1000
1001
len
start = 0
len >=1
start
char *p = (s + 1);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)