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 |
hi,i just want to know the best institute to learn oracle in bangalore because i am doing my BE there?
how 2 write a program of this pattern usin for loop?? 1 2 3 4 5 6 7 8 9 10
difference between tcp ip and open system interconnection
which is your dream company and why?
Please send us a brief description why do you think you can fit to the role
print your name without using any semicolon?
How EVA granules manufactured (I wanted to know the manufacturing process). (Virgin Granules) and what are the Raw Materials used.
I am selected interview for computer sc.please give me some information how many types question asked in interview.my id is sumanadas10@gmail.com
need tcs questn papers from 2007 to 2009 plzzzmail to 9015.rama@gmail.com its urgent
Key difference between ip10 and ip20 of ceragon equipment?
what is node class?
i am astubent of BE3rd year currently in 6th semester branch information technology till now i have 73% near about in each semester the problem with me is that i have got only 58%in 12th class n 55%in 10th class bcoz of my health now i am ok i have got 2 year loss also bcoz i have not giveen the exam in class 12th rite now i am prep for GATE i am working hard pls tell will i get a good job in future in the good company bcoz my inter percent were not gud pls tell me help me pls