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

Explain is it better to bitshift a value than to multiply by 2?

724


What is the use of clrscr?

609


What is an array in c?

605


Who invented b language?

928


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

731






Explain can the sizeof operator be used to tell the size of an array passed to a function?

603


Why do we use header files in c?

592


What are c preprocessors?

687


What are the advantage of c language?

562


How to set file pointer to beginning c?

682


What is external variable in c?

621


What is a pointer and how it is initialized?

615


Describe static function with its usage?

622


What is difference between structure and union with example?

605


Write a program to swap two numbers without using the third variable?

609