why we shiuld use main keyword in C

Answer Posted / siddiqui mohd. faisal

main is a keyword which tells the compiler that actual
program starts from here.

Is This Answer Correct ?    16 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can I prevent another program from modifying part of a file that I am modifying?

715


What is your stream meaning?

690


Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

4921


Can stdout be forced to print somewhere other than the screen?

698


What are c preprocessors?

751






Write a c program to demonstrate character and string constants?

1753


Explain main function in c?

687


Explain c preprocessor?

741


Can two or more operators such as and be combined in a single line of program code?

894


In C language what is a 'dangling pointer'?

699


Write the control statements in C language

716


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

1071


What are identifiers c?

637


Write a C program in Fibonacci series.

703


write a c program to find the sum of five entered numbers using an array named number

1704