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 me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
Why n++ execute faster than n+1 ?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
What is the benefit of using #define to declare a constant?
How can you avoid including a header more than once?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
What is the acronym for ansi?
How can I prevent another program from modifying part of a file that I am modifying?
When should structures be passed by values or by references?
What is 2 d array in c?
What is getch?
What is variables in c?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
When should a type cast not be used?
Is using exit() the same as using return?