to write a program to search a character in a string and to
print till the character in the string using pointers in c
program
Answer / guest
char str[20]="some string";
char *ptr=str;
char search_char=e;
for(int t=0;i<strlen(str);i++)
{
if((*ptr)==e) (*ptr)=\0' //null charachter
}
printf("%s",str);
| Is This Answer Correct ? | 5 Yes | 4 No |
What are the features of tata nano , technical specification of tata nano, overview of tata nano, varients of tata nano, price of tata nano, dealers of tata nano, expectation from tata nano, criticism of tata nano, tata nano hybrid ?
C++ PROGRAM FOR FIBONACCI SERIES USING COPY CONSTRUCTER
what is the PID controller?
i want to do oracle certification..could any one pleas tell me what is the level 1 certification exam in oracle? how do we get dumps?
What is the dewpoint of atmoshperic Air?
difference between w2k and win xp....
question no. 4======Give a brief description of the following terms: a) Play head b) Symbol c) Tweening d) ActionScript e) Frame rate f) Library panel g) Masking h) Context – sensitive Property Inspector i) Bandwidth Profiler j) Frame Label
what are the ores of copper, what is copper reserve of india
1 Answers Electrical, Hindustan Copper,
What a test plan contains
sir, i am khalidh iam preparing for the examinations of Hpcl information systems officers for that iam having a guidence for the written exam.So provide me a test apptitude papers and subject related questions.
What are tasks?
what are nanoemulsions and how are they prepared? i want a brief outline about nanoemulsions.. is anyone of you is having any literature, can you share that? also any an idea where i can get the information?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)