Answer Posted / rahul
no we can write a program with out main function, this
function is the main function which usually help OS to kill
the process that has executed, like in JAVA main() is used
as a thread whose wqork is to kill the executed process and
mark those as GC( Garbage collection)
Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
4. main() { int c=- -2; printf("c=%d",c); }
What is #pragma statements?
Explain the process of converting a Tree into a Binary Tree.
What does printf does?
Why c is a procedural language?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
What are shell structures used for?
Are the variables argc and argv are always local to main?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What is pre-emptive data structure and explain it with example?
Is it better to bitshift a value than to multiply by 2?
Which of these functions is safer to use : fgets(), gets()? Why?
What is bss in c?
c program for searching a student details among 10 student details