Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

in C-programming language without using printf statement
can we get output r not ? if yes how and if no also how ?

Answer Posted / bhupendra dhire

/*this program is without printf() and without (;) using far pointer and functions */

int display(char *ch)
{
char far *p;
int i;
static int c=0;
p=(char far *)0xb8000000l;
for(i=0;ch[i]!='\0';i++,c=c+2)
p[c]=ch[i];
}
void main()
{
if(display("BHUPENDRA DHIRE ")){}
}

Is This Answer Correct ?    21 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is gets() function?

1115


There seem to be a few missing operators ..

1094


What is an identifier?

1083


Is malloc memset faster than calloc?

1128


What is the purpose of ftell?

1137


What is define c?

1154


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1958


What is scope and lifetime of a variable in c?

1115


What is malloc and calloc?

1100


What are preprocessor directives in c?

1154


what is the height of tree if leaf node is at level 3. please explain

2197


When should a type cast be used?

1060


Tell me about low level programming languages.

1188


can any one tel me wt is the question pattern for NIC exam

2022


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

1916