Yes, but if you intend to do any useful work and call any library functions, you will need to know their prototypes in order to call them. That's one of the values of the headerfile.
sdfdg
This is not a question.
Technically yes, practically no.
not possible dude
To swap two variables without using a third variable, use exclusive or manipulation... a ^= b; b ^= a; a ^= b;
a=a^b; b=a^b; a=a^b;
Certainly, you can write a program without main, but you cannot build an executable from it, if that is okay with you.
write a sample program using asp.net explaining all the syntax and semantics of the program
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
Yes, you can write a "hello world" program without an operating system using bare metal programming. This involves directly interfacing with the hardware of a computer system without an intermediary operating system. The program can be written to access and output text to a display device without the need for an OS.
write a vb program to find the magic square
Java program without mainWe need a main method for executing a program.But YES we can write a program without using main() method.TRICK 1 of 2 :: while writing applets in java we don't use main... we use init() method instead.TRICK 2 of 2 :: using 'static' we can write a program whic will execute successfully and output the desired message on screen. Here it is :: class Mohit{ static { System.out.println("This java program has run without the main method"); System.exit(0); } } -->save the program as Mohit.java to compile::javac Mohit.java (in command prompt) to run ::java Mohit(command prompt) output will be ::This java program has run without the main methodWhoa!!!!! we are done.;)