Find occurence of a character in a sting.

Answer Posted / chanti

strchr()
it is the function which we use in string() while we r
using characters in it.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do pointers store the address of value or the actual value of a variable?

702


What is union and structure in c?

721


Distinguish between actual and formal arguments.

685


What is the use of putchar function?

733


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

1567






What are the 5 types of organizational structures?

659


Which are low level languages?

729


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

767


Is void a keyword in c?

671


What is difference between stdio h and conio h?

999


What are the three constants used in c?

639


Write the Program to reverse a string using pointers.

709


What is scanf_s in c?

736


What is the difference between if else and switchstatement

1407


Who developed c language and when?

700