What is meaning of "Void main" in C Language.
Answer Posted / prasanna kumar [cse dept. kln
in c and c++ language,void main()
should be used when the main body of programs executed.
void means-nothing(ie) it should returning the value as zero
or the value which we used in our program and another one is
its returning the value when any function is used in our program
| Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
What do you mean by command line argument?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
What is static and auto variables in c?
can anyone please tell about the nested interrupts?
What is 'bus error'?
Is calloc better than malloc?
What is return type in c?
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 ].
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 .
Why c is called procedure oriented language?
Explain logical errors? Compare with syntax errors.
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What are the restrictions of a modulus operator?
What is array of structure in c programming?
When should volatile modifier be used?