Sh3ll
OdayForums


Server : Apache
System : Linux profile 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
User : apache ( 48)
PHP Version : 8.0.28
Disable Function : NONE
Directory :  /var/www/html/venkat/old/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/venkat/old/iit2015004_6.c
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
char remnum(char x[])
{
	int i,j=0,count=0
	char b[25];
	for(i=0;x[i]!='\o';i++)
	{ count++;
	}
	for(i=0;i<count;i++)
	{	
		if(isnum(x[i])==0)
		{
			b[j]=x[i];
			j++;
		}
		else
		{ 
			continue;
		}
	}
	return b[];
}
int main()
{
	char a[25];
	printf("Enter the character \n");
	scanf("%s",a[]);
	char b[25]=remnum(a[]);
	printf("The string with only the characters \n  %s",b[]);
	return 0;
}

ZeroDay Forums Mini