Showing posts with label c language. Show all posts
Showing posts with label c language. Show all posts

Monday, April 13, 2009

lets print hello world in C language

Here's the snippet

int main() {
if (/*your code goes here*/) {
printf("hello");
} else {
printf("world");
}
return 0;
}

Try printing "helloworld" by just filling in the condition in the if statement ?

Hint:
Ever wondered what printf returns? ;)