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

What is a loop?

548


What is the difference between local variable and global variable in c?

680


What is the size of empty structure in c?

589


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1306


‎How to define structures? · ‎

620






What is structure data type in c?

563


write a programming in c to find the sum of all elements in an array through function.

1700


What is string length in c?

603


What the different types of arrays in c?

610


Explain the difference between #include "..." And #include <...> In c?

621


how to print the character with maximum occurence and print that number of occurence too in a string given ?

2029


write a c program in such a way that if we enter the today date the output should be next day's date.

1677


Are the outer parentheses in return statements really optional?

570


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

2643


What is the difference between malloc() and calloc() function in c language?

596