which header file contains main() function in c?
Answer Posted / surendra nath sahoo
Hello Friends..
Actually a header file in C language only have
four things
1:typedef
2:function prototype
3:macro definations
4:external variables
And header file is required if the return type of a function
is not int.
as main function default return type is int so header file
is not required.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Is c still relevant?
Explain void pointer?
What is d scanf?
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.
What 'lex' does?
Do you know pointer in c?
How to create struct variables?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
Is it better to use a macro or a function?
What is mean by data types in c?
How reliable are floating-point comparisons?
How to get string length of given string in c?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
Multiply an Integer Number by 2 Without Using Multiplication Operator
What is c++ used for today?