wap to print "hello world" without using the main function.
Answer Posted / manne ranjith
Using Macros we can solve this.
#include<stdio.h>
#include<conio.h>
#define manne main
void manne()
{
clrscr();
printf("HELLO WORLD\n");
getch();
}
| Is This Answer Correct ? | 27 Yes | 18 No |
Post New Answer View All Answers
Do you know pointer in c?
What is the significance of scope resolution operator?
Explain how can you tell whether two strings are the same?
c program for searching a student details among 10 student details
What is c method?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
Once I have used freopen, how can I get the original stdout (or stdin) back?
What does 3 mean in texting?
List the difference between a "copy constructor" and a "assignment operator"?
What is keyword with example?
What is a string?
What is the use of function in c?
What is a ternary operator in c?
What is the data segment that is followed by c?
find out largest elemant of diagonalmatrix