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

Answers were Sorted based on User's Feedback



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

Answer / vikas

int main(void)
{
if(printf("hello world"))
}

Is This Answer Correct ?    18 Yes 3 No

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

Answer / ramu gurram

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

Is This Answer Correct ?    10 Yes 1 No

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

Answer / jithneder palle

int main(void)
{
if(printf("hello world"))
}

Is This Answer Correct ?    9 Yes 2 No

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

Answer / rajveer singh rana

#include<stdio.h>
#include<conio.h>
void main()
{
if(printf("Hello world"))
getch();
}

Is This Answer Correct ?    1 Yes 0 No

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

Answer / ramu gurram

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

Is This Answer Correct ?    4 Yes 4 No

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

Answer / @bhi

echo "Hello World" //shell script

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?

0 Answers  


Explain what is a static function?

0 Answers  


Explain how does free() know explain how much memory to release?

0 Answers  


What is #include stdio h?

0 Answers  


Will Macros support multiple arguments ?

7 Answers   Oracle,






What extern c means?

0 Answers  


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

0 Answers  


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

0 Answers  


Explain null pointer.

0 Answers  


what is the significance of static storage class specifier?

0 Answers  


void main() { int i=5; printf("%d",i+++++i); }

17 Answers   ME,


what is the difference between char * const and const char *?

2 Answers   TCS,


Categories