wap to print "hello world" without using the main function.
Answer Posted / kk
main() method is the entry point for any c/c++ program which
is compiled/linked as executable. C/C++ does not force
anyone to use only main() method as the entry point. This is
only the default behavior and can be changed. This is
generally slightly different for different compiler. But you
can do this.. Simply define any other method say noMe() to
be the entry point for the executable.
Who the hell uses main()to do main stuffs in any
executable.. It should have been called something like
start() ot begin().. :)
Well this is not the answer.. Just little guidance..
| Is This Answer Correct ? | 3 Yes | 16 No |
Post New Answer View All Answers
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
why programs in c are running with out #include
What is storage class?
How can I find out if there are characters available for reading?
Differentiate between the = symbol and == symbol?
When should I declare a function?
What are the types of data types and explain?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
Which of these functions is safer to use : fgets(), gets()? Why?
What is #define?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
Is there any data type in c with variable size?
The statement, int(*x[]) () what does in indicate?
What is new line escape sequence?