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
Explain how do you print an address?
What's a good way to check for "close enough" floating-point equality?
What is hash table in c?
Write a program to swap two numbers without using third variable in c?
can anyone suggest some site name..where i can get some good data structure puzzles???
Why flag is used in c?
Differentiate between Macro and ordinary definition.
What is the difference between array and pointer?
Why is main function so important?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
When should you use a type cast?
Why is c called a mid-level programming language?
How can I insert or delete a line (or record) in the middle of a file?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
Can stdout be forced to print somewhere other than the screen?