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
What is exit() function?
What is a 'null pointer assignment' error?
Where are c variables stored in memory?
in linking some of os executables are linking name some of them
Why are all header files not declared in every c program?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Who is the founder of c language?
Explain what is wrong in this statement?
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.
What is the scope of global variable in c?
What is this pointer in c plus plus?
What is meant by keywords in c?
Can i use “int” data type to store the value 32768? Why?
What do you mean by scope of a variable in c?
Define macros.