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 the binary height balanced tree?

1181


What are the properties of union in c?

1052


What are the types of data structures in c?

1147


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1874


Do you know what are bitwise shift operators in c programming?

1096


Can we declare function inside main?

997


i got 75% in all semester am i eligible for your company

2223


Calculate 1*2*3*____*n using recursive function??

2031


Which function in C can be used to append a string to another string?

1216


What is the acronym for ansi?

1045


Is null always equal to 0(zero)?

1030


What is scanf_s in c?

1113


Is fortran still used today?

1089


What does it mean when the linker says that _end is undefined?

1090


What is function in c with example?

1144