write a programe returns the number of times the character
appears in the string

Answer Posted / mohanraj

if(a[i]==q)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it cc or c in a letter?

755


What is the difference between fread buffer() and fwrite buffer()?

890


Can we declare variables anywhere in c?

757


How can you call a function, given its name as a string?

899


What is the meaning of && in c?

740


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

1860


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

2292


How is a structure member accessed?

798


Tell us bitwise shift operators?

791


What is volatile, register definition in C

888


while initialization of array why we use a[][2] why not a[2][]...?

2080


Differentiate between Macro and ordinary definition.

967


What is the purpose of main() function?

913


What is difference between arrays and pointers?

760


program for reversing a selected line word by word when multiple lines are given without using strrev

2159