a.h ------------------ this is one file
This contains the following information inside the .h file

/*add/root/temp/private/addsolutions.c/*/
int vehicle(int a,int b);
int car(int a,int b);

My request:
I need to read the a.h file uearch for the addsolutions.c which is a header file search in the whole project directory and open the addsolutions.c file in write mode and again search for the int vehicle(int a,int b) function in the .c file if the search is found then insert one printf statement which is printf("i am inside vehicle function").
Please everybody help me with the code for this solution as soon as possible.

hi,
anyone help me with the solution in C program applying file pointer concept

hi,
anyone help me with the solution in C program applying file pointer concept

Mention clearly what exactly you want
i.e
your program input
expected output

and also show your approach so that we can help you...!!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.