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 |
What is the difference between constant pointer and pointer to a constant. Give examples.
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
What is wrong in this statement?
#include<stdio.h> void main() { int a [5]; for (i=0; i<=4; i++) printf(ā%dā ,a[i]); }
What are header files why are they important?
Write a program using two-dimensional array that lists the odd numbers and even numbers separately in a 12 input values.
Does c have function or method?
Explain enumerated types in c language?
Illustrate it summing the series 2+4+6+......to n terms using (i) while loop (ii) do-while loop
What is the difference between a structure and a union?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
which is an algorithm for sorting in a growing Lexicographic order