Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C# by hedzo ( 14 years ago )
void funkcia4(char str[])
{
char x,z,pom;
int len;
len=strlen(str);
scanf("%i",&x);
scanf("%i",&z);
pom=str[x];
str[z]=str[x];
str[x]=pom;
printf("%c %c",x , z);
}
int _tmain(int argc, _TCHAR* argv[])
{
char str[]="abcdefghijklmno";
funkcia4(str);
return 0;
}
Revise this Paste