answersLogoWhite

0

int main (void)

{

if(printf("Print whatever you want"))

{

}

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

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")) {}


Can you print string without using semi column in printf statement in c programming?

If you forget the semicolon, your program won't compile.


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

use cout << simple


What is the difference between the usage of semicolon and comma in the print statement in QBASIC?

The print with semi - colon is used to write the text one after the other, without giving the space between them whereas the print with colon is used to type the text one after the other, with giving plenty of spaces between them.


How do you print a statement in c without using any function like printf putc puts etc?

The only way i see is to use : using the right file descriptor


Write a programme in c to print hello world without using statement terminator?

#include<stdio.h> #include<conio.h> void main() { if(printf("hello world")){} if(getch()){} }


Print 200 with and without sign?

printf("%u %+d %+d",200,200,-200); //will print 200 +200 -200


Wap to print 'hellow' in c?

Answerwell if it is about the include statement only then your answer goes simple. extern "C"{int printf(const char *format,..);}int main(){printf("Hello world");}coz all the include statement does is copy the requested file at the asked location.


How to print float or double without using printf?

With functions like ecvt, fcvt, gcvt.


How can you accept sum and print numbers without creating variables?

It is very easy. The program begins here..... /*Program to sum and print numbers without creating variables*/ #include<stdio.h> main() { clrscr(); printf("%d+%d=%d",5,2,5+2); getch(); } /*Program ends here*/ Now just by changing the numbers in the "printf" statement we can add, subtract, multiply and divide the numbers without using variables. Hence the problem is solved..........


Does printf() statement can generate only one line of output?

No, the printf() statement in C can generate multiple lines of output. You can include newline characters (\n) within the string to create line breaks, allowing for formatted output across multiple lines. Additionally, you can call printf() multiple times to print different lines.


To print the name without using semicolon?

#include <stdio.h> int main (void) { puts ("the name"); return 0; }

Trending Questions
How do you fix a keyless remote for 97 Chevy Tahoe good batteries lock button works but unlock only works sometimes? How did cultural movements like the Renaissance and the Scientific Revolution destabilize the Catholic Church and pave the way for the reformation? What is the bolt pattern for a 2004 Ford Expedition? What is a type cast in c plus plus? Arsenal Football Club used to be known as Woolwich Arsenal? Why Is Lincoln NE called the star city? Is it illegal for minors to smoke cigarettes in California? How do you write three hundred and forty nine thousandths as a fraction? Is weight lifting good for the body? My husband died 5 years ago and I do not want to loose his SS benefits yet I have met someone that I want to marry. Can I common law marry and still retain my deceased husbands SS benefits? What is true regarding psychology and its relationship to science? Is being an accountant hard? Which of the following is the best revision of the inflated language example below The contemplation of the illuminated object on the wall for the vertical movement apparatus will render your position on the first floor irrelevant, until you make the....? How do American leaders represent their loyalty to the citizens? Why the slave trade should be stopped? What has the author John Albers written? Is there a set number of jurors legally required to sit on the jury of a murder trial? What type of automatic transmission fluid is used in a 1999 VW beetle? How much does the fattiest man weigh? Are chemicals inside you?