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
Why header files are used?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
How can I swap two values without using a temporary?
How do you define a string?
What is c system32 taskhostw exe?
What is the purpose of scanf() and printf() functions?
Why C language is a procedural language?
What is build process in c?
What would be an example of a structure analogous to structure c?
Write a program to reverse a given number in c?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
write a program to create a sparse matrix using dynamic memory allocation.
Why do we need arrays in c?
What happens if header file is included twice?
What is external variable in c?