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
What is the easiest sorting method to use?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
What are the applications of c language?
Explain how can a program be made to print the name of a source file where an error occurs?
What is boolean in c?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What is the process of writing the null pointer?
Can a variable be both const and volatile?
using for loop sum 2 number of any 4 digit number in c language
write a program to generate address labels using structures?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
Where define directive used?
Is main an identifier in c?
What is the difference between text files and binary files?
What are local static variables? How can you use them?