Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

CharAt() - Returns the Character of the given position in C

#include<stdio.h>
#include<conio.h>
#include<string.h>

void main()
{
    char a[20];
    int n;
    printf("\nenter a string");
    scanf("%s",a);
    printf("enter char position(assume starting position as 0)");
    scanf("%d",&n);
    printf("character at %d= %c",n,a[n]);
}