What is meaning of "Void main" in C Language.
Answer Posted / rohit
void mean no return type. and main does not return any value so we use void main .
| Is This Answer Correct ? | 73 Yes | 23 No |
Post New Answer View All Answers
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 ].
Write a program to swap two numbers without using the third variable?
What are the advantages of using Unions?
What are different types of operators?
Why is event driven programming or procedural programming, better within specific scenario?
What is the difference between null pointer and wild pointer?
What would be an example of a structure analogous to structure c?
Why do we use int main instead of void main in c?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What are the types of i/o functions?
What is the use of extern in c?
What is an endless loop?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
will u please send me the placement papers to my mail???????????????????