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 is c called "mother" language?
What is the advantage of using #define to declare a constant?
Can you write the algorithm for Queue?
What is the scope of local variable in c?
What are lookup tables in c?
Why is #define used?
What is enumerated data type in c?
What is table lookup in c?
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
Explain what is the difference between a string and an array?
which type of aspect you want from the student.
What is volatile variable how do you declare it?
What is a pointer in c?
Mention four important string handling functions in c languages .
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above