What is meaning of "Void main" in C Language.
Answers were Sorted based on User's Feedback
Answer / kiruthika
viod is a return type which does not return any value after
execution.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / pravin kumar
void main is main functio in c language where :-
= void means no return of any value.
= main is the function from which a program starts its
execution.whithout main(),program can compile but not run.
both the function are used to execute the program.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / ashturkar sameer
void main means does not return valu at exicution time
mens return (0)
| Is This Answer Correct ? | 27 Yes | 31 No |
Answer / sameer ashturkar
void means simply it's return zero(0)
| Is This Answer Correct ? | 23 Yes | 30 No |
Write an interactive c program that will encode or decode a line of text. To encode a line of text, proceed as follows: Convert each character, including blank spaces, to its ASCII equivalent. Generate a positive random integer. Add this integer to the ASCII equivalent of each character. The same random integer will be used for the entire line of text. Suppose that N1 represents the lowest permissible value in the ASCII code, and N2 represents the highest permissible value. If the number obtained in step 2 above exceeds N2, then subtract the largest possible multiple of N2 from this number, and add the remainder to N1. Hence the encoded number will always fall between N1 and N2, and will therefore always represent some ASCII character. Display the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text. Be certain, however, that the same random number is used in decoding as was used in encoding.
1 Answers Amazon, CSJM, HCL, Microsoft, TCS, Wipro,
Consider a language that does not have arrays but does have stacks as a data type.and PUSH POP..are all defined .Show how a one dimensional array can be implemented by using two stacks.
write a programming in c to find the sum of all elements in an array through function.
What are global variables?
Explain zero based addressing.
what will be the output of this program main() { int i=1; while (i<=10); { i++; } }
Write a program that will read the input of any number of digits n in a row of shafh showing the breakdown of the printing and printing figures by the recursive function.
Can a pointer be null?
can a union be self-referenced?
how can i get output like this? 1 2 3 4 5 6
what is the defrenece between structure and union
What are the different types of control structures in programming?