Strtok String Funcion In C Program


#include<stdio.h>
#include<conio.h>      //www.tutorjoes.com
void main()
{
   char *a,*b,*c;
   clrscr();
   printf("\nEnter the string :");
   gets(a);
   printf("\nEnter the string:");
   gets(b);
   c=strtok(a,b);
   printf("\n%s",c);
   getch();
}

Login To Download Source Code

Leave a Comment:

Login To Comment

List Of Programs


Goto Examples

Operators

Looping

Number Conversion

Pattern Design

Arrays

Matrix Examples

Sorting Examples

String Function

Change Case

String In C

Maths Functions

User Defined Functions

Recursive Functions

Pointer

Structure

File Concept

Calender Programming