prog.cpp:14:8: warning: character constant too long for its type
str a='12345';
^
prog.cpp: In function 'int main()':
prog.cpp:14:2: error: 'str' was not declared in this scope
str a='12345';
^
prog.cpp:15:2: error: 'chr' was not declared in this scope
chr b='1';
^
prog.cpp:16:14: error: 'a' was not declared in this scope
cout<<count(a,b);
^
prog.cpp:16:16: error: 'b' was not declared in this scope
cout<<count(a,b);
^