- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
stroka="Hello world!";
SubStringStartWith(Char, String)
{
return strchr(String, Char);
}
#define cl 'w'
main()
{
printf("In character literal \'%c\' %d bytes \n", cl, sizeof(cl));
printf("In string \"%s\" substring, that start with \'%c\' char is \'%s\'", stroka, cl, SubStringStartWith(cl, stroka));
return 0;
}