in C-programming language without using printf statement
can we get output r not ? if yes how and if no also how ?

Answer Posted / shreya jha

it's possible to print something using if and without semicolon(;)

#include<stdio.h>
#include<conio.h>
int main()
{
if(printf("HELLO USER"))
{
}
getch();
return 0;
}

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the size of enum in c?

618


What is structure in c language?

619


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

2651


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

1434


What is difference between && and & in c?

597






Tell me what is null pointer in c?

615


What is the difference between text and binary modes?

646


What are header files why are they important?

580


How can a program be made to print the name of a source file where an error occurs?

731


How would you obtain the current time and difference between two times?

728


How are 16- and 32-bit numbers stored?

723


write a progrmm in c language take user interface generate table using for loop?

1574


we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

804


What does double pointer mean in c?

582


Explain setjmp()?

655