answersLogoWhite

0

printf("Your text here %d", your_data);

or maybe you want to see '%d' as output? Try one of these:

printf ("%%d");

printf ("%cd", '%');

printf ("%s", "%d");

fputs ("%d", stdout);

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What are the extra uses of pointer such as print anything on the screen without using printf in c?

Your question makes no sense.


Can anyone give a logic in c plus plus to print something on screen using printf statement but without semicolon used after printf statement?

try to usecondition ? value if true : value if falseor: if (printf ("Hello")) {}


Write a program in c language to print some message on the screen with out using printf?

you can put the printf function inside a if() so that you need not use semicolons. for eg to print my name, if(printf("My Name is Maheedharan")) {} this will work. try this out...


Print your name ten times on the screen using a do-while loop?

#include<stdio.h> #include<conio.h> void main() { clrscr(); int x=0; do { printf("Kaushal"); printf("\n"); x++; }while(x<10); getch(); }


How do you print the message without using printf and semicolon?

use cout << simple


How do you print 0001 in C programming?

its quite simple using printf function


How to print float or double without using printf?

With functions like ecvt, fcvt, gcvt.


What are the example of turbo c with using scan and print function?

#include<stdio.h> Void main() { int a,b; printf("Enter a Number: "); // for print function as an out-put scanf("%d",&a); //for scan function as in input /* Here we can use print function once again as: */ a=a++; printf("%d",a); }


How do you print on console without using printf or puts in c language?

write, putchar, putc, fputc etc


Using one pointer don't we print two variables?

You can print two variables with one printf, with or without pointers: int val1= 10, val2=20, *pval2= &val2; printf ("val1=%d, val2=%d\n", val1, *pval2);


How do you write a C plus plus program that displays a pyramid of Xes on the screen using a for loop?

printf ("x")


How do you construct a java program that print table with backslash?

within inverted commas using two backslashes consequently .. we will print the backslash. ex: printf("//n it will gives output");