lets just replace ur variables x and p by something interesting,
lets think ur home "address" is amity_villa.
i,e
amity_villa=address of Aphex's home.
or
amity_villa=&Aphex_home;
...
Type: Posts; User: shrikanth
lets just replace ur variables x and p by something interesting,
lets think ur home "address" is amity_villa.
i,e
amity_villa=address of Aphex's home.
or
amity_villa=&Aphex_home;
...
Elysia: thanks for ur advice on using void and usin uninitialized vars, i'l keep these in mind..
But i couldn't use getchar and immediately print d char entered as sanjay.nitk wanted.. anyway i'l...
well this is very simple, i hav done it till 999, u can make necessary modifications for 1000 and bigger nos..
#include <stdio.h>
int main()
{
int n=0,digits=0,m=0;
clrscr();
...
#include<stdio.h>
int main()
{
char ch,choice;
int val=0;
clrscr();
while(val)
{
printf("\nenter the char\n");
honestly i didn't got wat u r tryin to do with this code.. can u elaborate ur problem statmnt..?