Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Explain what are its uses in c programming?

0 Answers  


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

0 Answers  


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

0 Answers   HCL,


#define d 10+10 main() { printf("%d",d*d); }

6 Answers  


What is hash table in c?

0 Answers  






program to find which character is occured more times in a string and how many times it has occured? for example in the sentence "i love india" the output should be i & 3.

3 Answers  


will u give me old quesrion papers for aptitude for L & t info tech?

1 Answers   Hindustan, L&T,


what is the use of getch() function in C program.. difference b/w getch() and getche()??

29 Answers   HCL, IBM, Infosys, TCS, Wipro,


write a code for large nos multilication (upto 200 digits)

2 Answers   Persistent,


Why can arithmetic operations not be performed on void pointers?

0 Answers  


How do you define a function?

0 Answers  


How can I prevent another program from modifying part of a file that I am modifying?

0 Answers  


Categories