How to print "Hi World" without using semi colon?
Answers were Sorted based on User's Feedback
Answer / bhumit
main()
{
clrscr();
if(printf("HI World"))
getch();
}
Is This Answer Correct ? | 20 Yes | 6 No |
Answer / ayyanar.m
main()
{
clrscr();
if(printf("HI World"))
getch();
}
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / manoj singh
#include<stdio.h>
void main()
{
clrscr();
if(printf("\"Hi world\""))
while(!kbhit());
}
// sorry for previous answer
Is This Answer Correct ? | 2 Yes | 3 No |
Answer / ankit choudhary
void main()
{
clrscr();
if(printf("\nHi World"))
getch();
}
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / saravana kumar
#include<stdio.h>
void main()
{
if(printf("Hi World"))
}
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / manoj singh
void main()
{
clrscr();
if(printf(""HI World""))
getch();
}
Is This Answer Correct ? | 2 Yes | 6 No |
main is a predefined or user define function if user defined why? if predefined whay?
What is the difference between ‘g’ and “g” in C?
what do structure language means?
How can I find out how much free space is available on disk?
What are global variables and how do you declare them?
do u print this format '(((())))'. This brackets is based on user input like 4 or 5 or 6,without using any loop's?
Write a C function to search a number in the given list of numbers. donot use printf and scanf
1. Write a C program to count the number of occurrence of a specific word in the given strings. (for e.g. Find how many times the word “live” comes in the sentence “Dream as if you’ll live forever, live as if you’ll die today ”)
Is calloc better than malloc?
Can you write the function prototype, definition and mention the other requirements.
write a c program to accept a given integer value and print its value in words
4 Answers Vernalis, Vernalis Systems,
#include<stdio.h> void main() { int a=5,b=6,c; int x=(a<b)+7; int y=(x==7)*9; int z=(c=x+y)*2; printf("%h %h %h",x,y,z); } What is the output? Explain it.