What is meaning of "Void main" in C Language.
Answer Posted / kiruthika
viod is a return type which does not return any value after
execution.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How can you determine the size of an allocated portion of memory?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
What is a c token and types of c tokens?
Why is #define used?
What is meant by type specifiers?
How do I convert a string to all upper or lower case?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
Explain what is wrong with this program statement?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
Why do we use null pointer?
number of times a digit is present in a number
What is pointer and structure in c?
What is the explanation for modular programming?
What do the functions atoi(), itoa() and gcvt() do?
What is c method?