Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~258 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for kandarpa

Please help me: Following is my program: [CODE]main() { char str[] = "This is //20"; char c[10], *k; int num=0; sscanf(str, "%s%[^//]*//%d",c, &num); printf("%s \n %d \n", c, num); }[/CODE] My intention is to get the first string and last number. I want to ignore the remaining text. There is …

Member Avatar for deceptikon
0
258