answersLogoWhite

0

If this is a homework assignment, you really should consider doing it yourself

#include
#include
int main (int argc, char *argv[]) {
printf ("Hello world!\n");
return 0;
}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Can you give an example of array using character variable in c program?

the example of array over charcter variables is char ["string"]


What is the use of Reverse String in C program?

The use of the reverse string in C program is used to reverse the letters in the string. An example would be reverse me would be reversed to em esrever.


Why and operator can not be used in string of c program?

Any character can be used in string, except for \\0. char example [] = "A&B|C";


Write a c program using string concept enter a sting and replace the new string in to old string and find no of occurrence?

print c co com comp compu


Write c program to print palindrome using string without using strrev strlen strcam?

sdfdg


C program to copy two strings in to a new string with out using stringcopy in borland c?

You can use so called concatenation of strings:{...string str1 = "something here";string str2 = " and something here";string newStr = str1 + str2;...}


What is the program to create a string class which stores a string value in c plus plus?

C++ already provides a string class in the C++ standard template library. #include<iostream> #include<string> int main() { using namespace std; string s {"Hello world!"}; cout << s << endl; }


Write a program in c to convert a given string to lower case?

Use the tolower() function. Example: char* a = 'X'; a = tolower(a); printf("%c", a);


Can you print string without using semi column in printf statement in c programming?

If you forget the semicolon, your program won't compile.


Why can't the c plus plus compiler find the string object?

The most likely reason that the C++ compiler can't find the string object is just that you've forgotten to include the string header file.Code Example:#include // so you can use C++ strings using namespace std; // so you can write 'string' instead of 'std::string' string sMyString; // declare a string


C program plus copy of string to another?

strcpy


Program in c string length in window using array?

size_t my_strlen (const char str []){size_t i;for (i=0; str[i]; ++i);return i;}