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 C language ?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What is mean by data types in c?
What is this infamous null pointer, anyway?
Combinations of fibanocci prime series
#include
Write a program to identify if a given binary tree is balanced or not.
Should a function contain a return statement if it does not return a value?
What is the purpose of 'register' keyword in c language?
What are logical errors and how does it differ from syntax errors?
When c language was developed?
What is meant by realloc()?
Who is the main contributor in designing the c language after dennis ritchie?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
What is realloc in c?