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

What is exit() function?

1021


What is a 'null pointer assignment' error?

1218


Where are c variables stored in memory?

1071


in linking some of os executables are linking name some of them

2141


Why are all header files not declared in every c program?

1103


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1321


Who is the founder of c language?

1170


Explain what is wrong in this statement?

1125


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

2311


What is the scope of global variable in c?

998


What is this pointer in c plus plus?

1090


What is meant by keywords in c?

1070


Can i use “int” data type to store the value 32768? Why?

1190


What do you mean by scope of a variable in c?

1015


Define macros.

1276