Saturday, October 22, 2011

solution of balagurusamy of chapter 8.1

#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
clrscr();
int i;
char nm[30];
printf("Enter the string:\n");
gets(nm);
for(i=0;nm[i]!='\0';++i)
{
printf("%c= %d\n",nm[i],nm[i]);
}
getch(); }

No comments:

Post a Comment