How can I make a program in c to print 'Hello' without
using semicolon in the code?
Answer Posted / jaya prakash
int main()
{
if(printf("Hello"))
{
//Null statement
}
}
Is This Answer Correct ? | 51 Yes | 3 No |
Post New Answer View All Answers
How do I get an accurate error status return from system on ms-dos?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Is c compiled or interpreted?
What are shell structures used for?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
What do you mean by command line argument?
What are the modifiers available in c programming language?
What is difference between array and pointer in c?
Explain do array subscripts always start with zero?
what are bit fields? What is the use of bit fields in a structure declaration?
What are types of preprocessor in c?
How do you list files in a directory?
Why c is a procedural language?
What is structure of c program?
Write the Program to reverse a string using pointers.