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 the use of a ‘’ character?

586


What are the types of assignment statements?

630


What are the different types of endless loops?

622


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

2934


Differentiate between calloc and malloc.

756






What are disadvantages of C language.

649


how to capitalise first letter of each word in a given string?

1434


what is ur strangth & weekness

1820


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

669


what is a constant pointer in C

678


Write a program to reverse a string.

639


What is modifier & how many types of modifiers available in c?

612


What are variables and it what way is it different from constants?

786


Is struct oop?

580


What is difference between Structure and Unions?

640