answersLogoWhite

0


Best Answer

You can choose from puts, fputs, fwrite, write (or even putchar, putc, fputc). I hope this will help you to start.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a c program to display hello on the monitor without using printf?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you display semi colon without using semi colon in a c program?

main() { if(printf("%c",59)) }


Program that display the first 5 odd numbers?

printf("1 3 5 7 9\n");


How do you create program that display your name?

#include<stdio.h> #include<conio.h> void main() { clrscr(); printf("Your name here"); getch(); }


Can you compile program without header file?

Yes,we can compile our program without header file without any error,but we can not use any predefine functions like printf,scanf.


How do you make a program that display odd number from one to twenty in c plus plus?

for (int i=1; i<20; i+=2) printf ("%d\n", i);


Write a program to display Identity matrix?

#include <stdio.h> void main() { int a,b,c,i,j; printf("Enter the number of rows for square matrix : "); scanf("%d",&a); for(i=1;i<=a;i++) { for(c=1,j=1;j<=a;j++,c++) { if(c==i) printf("1 "); else printf("0 "); } printf("\n"); } getch(); }


C program to display a number entered by user as it is without skipping the zeros preceding the number?

// Define and initialize input buffer char inputBuffer[256]; memset(inputBuffer, '\0', 256); // Get input scanf("%s", inputBuffer); // Display exactly what the user typed in printf("%s\n", inputBuffer);


How can one write a c program that will display his residential address?

printf ("The White House\n1600 Pennsylvania Avenue NW\nWashington, DC 20500\n");


What is a C program that will accept any alphanumeric character and display its ascii value?

#include#includevoid main(){char ch;clrscr();printf("enter to know ascii value");scanf("%c",&ch);printf("%d",ch);getch();}


Program to display multiplication table for given number?

#include<stdio.h> main() { int i,n; clrscr(); printf("enter the value"); scanf("%d", &n); while(i<=10) { printf("\n %d*%d=%d",n,i,(i*n)); i++; } getch(); }


How do you write a C program using an integer array to print array numbers up to 100 and then remove all numbers that are divisible by 2 and print out the remaining numbers and continue for 3 to 9?

#include<stdio.h> #include<conio.h> void main() { int i, a[100]; clrscr(); printf("Numbers from 1 to 100"); for(i=1;i<=100;i++) printf(" %d",a[i]); printf("Numbers from 1 to 100 without multiples of 2"); for(i=1;i<=100;i++) { if (a[i]%2 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 3"); for(i=1;i<=100;i++) { if (a[i]%3 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 4"); for(i=1;i<=100;i++) { if (a[i]%4 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 5"); for(i=1;i<=100;i++) { if (a[i]%5 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 6"); for(i=1;i<=100;i++) { if (a[i]%6 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 7"); for(i=1;i<=100;i++) { if (a[i]%7 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 8"); for(i=1;i<=100;i++) { if (a[i]%8 !=0) printf(" %d",a[i]); } printf("Numbers from 1 to 100 without multiples of 9"); for(i=1;i<=100;i++) { if (a[i]%9 !=0) printf(" %d",a[i]); } getch(); }


Writ a program in c to display day of the week using in switch case?

/* write a program to print Days of Week using switch-case structure */ #include<stdio.h> #include<conio.h> void main() { int n; clrscr(); printf("\n Enter Day of weak as Number 1 to 7 "); scanf("%d",&n); switch(n) { case 1: printf("\n MONDAY "); case 2: printf("\n TUESDAY"); case 3: printf("\n WEDNESDAY"); case 4: printf("\n THURSDAY"); case 5: printf("\n FRIDAY"); case 6: printf("\n SATURDAY"); case 7: printf("\n SUNDAY"); default : printf("\n no operation is required"); } getch(); }