It is possible that I will store the individual words into a new variable?
Type: Posts; User: programmerc
It is possible that I will store the individual words into a new variable?
I didn't use strtok here, because I do not know how to use it in sorting.
#include<stdio.h>
#include<conio>.h>
void main(){
int i,j,n;
char str[20][20],temp[20];
puts("Enter the no. of string to be sorted");
scanf("%d",&n);
for(i=0;i<=n;i++)
...
I do not have a code yet..
Hi everyone I'm starting to learn C programming and I have a bad time in making a program that sort the words in ascending order using strtok. Like this:
INPUT: I am good.
OUTPUT: am
...