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
Explain what is meant by 'bit masking'?
Write a program to maintain student’s record. Record should
not be available to any unauthorized user. There are three
(3) categories of users. Each user has its own type. It
depends upon user’s type that which kind of operations user
can perform. Their types and options are mentioned below:
1. Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record)
2. Super Admin
(Search Record [by Reg. No or Name], View All Records,
Insert New Record, Modify Existing Record, Delete Single Record)
3. Guest
(Search Record [by Reg. No or Name], View All Records)
When first time program runs, it asks to create accounts.
Each user type has only 1 account (which means that there
can be maximum 3 accounts). In account creation, following
options are required:
Login Name: <6-10 alphabets long, should be unique>
Password: <6-10 alphabets long, should not display
characters when user type>
Confirm Password:
Process by which one bit pattern in to another by bit wise operation is?
What is extern c used for?
What language is lisp written in?
Difference between malloc() and calloc() function?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
What is an arrays?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
write a c program in such a way that if we enter the today date the output should be next day's date.
Why c is called object oriented language?
What is realloc in c?
What is c mainly used for?
What is #define in c?
Why do we use stdio h and conio h?