thecall
Junior Member level 2
hi
i am trying to work in C and while working with strings i got some probs actually i was solving end probs of yashvant kanetkar book LET US C.
these are the probs:
how to extract some part of the string ?
i know one thing about this like if we have string
char n[40]="i m beginner"
then if we write
printf("%s",&n[4]);
it will print beginner staring from 5th postition.
but if i want just to print "beg " then how i can give endpoint. like it goes to g and terminates how to give terminating point.
------------------------
What are strings and int......... i need to convert string to int....
how its possible
dont give Code just guide me
thnx in adv.
i am trying to work in C and while working with strings i got some probs actually i was solving end probs of yashvant kanetkar book LET US C.
these are the probs:
how to extract some part of the string ?
i know one thing about this like if we have string
char n[40]="i m beginner"
then if we write
printf("%s",&n[4]);
it will print beginner staring from 5th postition.
but if i want just to print "beg " then how i can give endpoint. like it goes to g and terminates how to give terminating point.
------------------------
What are strings and int......... i need to convert string to int....
how its possible
dont give Code just guide me
thnx in adv.