How can I make a program in c to print 'Hello' without
using semicolon in the code?

Answer Posted / rosaiah

int main()
{
if(printf("hello"))
{
\* blank*\
}
}

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what value is returned to operating system after program execution?

1793


What is the use of ?: Operator?

873


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1650


What is a structure and why it is used?

824


Stimulate calculator using Switch-case-default statement for two numbers

2667






Why we use stdio h in c?

762


How many levels of pointers can you have?

905


How to throw some light on the b tree?

791


Define Spanning-Tree Protocol (STP)

848


program for reversing a selected line word by word when multiple lines are given without using strrev

2143


What are the types of arrays in c?

816


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

808


What is an lvalue in c?

865


Can a program have two main functions?

816


What is a loop?

778