how to write hello word without using semicolon at the end?

Answer Posted / ramu gurram

#include<stdio.h>
int main(void)
{
if(printf("hello world"));
return 0;
}

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

931


What does %p mean c?

845


How do I convert a string to all upper or lower case?

892


Which is best linux os?

793


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1012


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

869


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

2207


How can you call a function, given its name as a string?

938


Why shouldn’t I start variable names with underscores?

871


How can I read/write structures from/to data files?

780


What is a nested loop?

890


How is a pointer variable declared?

815


Why does everyone say not to use gets?

830


Why dont c comments nest?

854


What is structure of c program?

841