Hi,
main()
{
}
Is a user defined function or Built in Functionn
Answer Posted / rajen kumar
if main() is user define...then why not...we can't change
it's name ??
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is putchar() function?
What are the 32 keywords in c?
What is I ++ in c programming?
Are the expressions * ptr ++ and ++ * ptr same?
What is pointer and structure in c?
How many main () function we can have in a project?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
What are data structures in c and how to use them?
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.
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
Write a program to swap two numbers without using the third variable?
What is header file definition?
How do I send escape sequences to control a terminal or other device?
Where is c used?
Do you know what are the properties of union in c?