Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

Program Discussion :: Strings

Home > Programs > Strings

34 / 59

Write a program to check & count the occurrence of character in the given string?



int main()
  char str[10];
  int c=0,count[26]={0},x;
  for(int i=0;str[i]!='\0';i  ){

Asked In :: Virtusa

Post Your Answer Here:


Post Your Reply Here: