What is meaning of "Void main" in C Language.

Answer Posted / sneh pranjal

Main() is the function from which a c program starts its execution.And every function returns some value after its execution.
So it important in most of the C program.If we dont need any return type we declare a function starting with void.
Means void is a return type.void means not returning any thing.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1327


Can you please explain the difference between syntax vs logical error?

705


What are conditional operators in C?

632


How would you obtain the current time and difference between two times?

738


What is the right type to use for boolean values in c?

595






What is the acronym for ansi?

642


What does #pragma once mean?

697


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2204


Explain heap and queue.

593


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

742


What are high level languages like C and FORTRAN also known as?

698


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

1675


Why & is used in c?

729


Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?

579


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

3335