Which weighs more, a gram of feathers or a gram of gold?
Answers were Sorted based on User's Feedback
Which is better between malloc and calloc?
why TCS selected more student in the software field from all institution.
which operator having highest precedence? a.)+ b.)++ c.)= d.)%
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
Explain what is the benefit of using #define to declare a constant?
How do you print only part of a string?
What is the difference between procedural and declarative language?
What are header files in c?
if a five digit number is input through the keyboard, write a program to calculate the sum of its digits. (hint:-use the modulus operator.'%')
. A database table called PERSON contains the fields NAME, BASIC and HRA. Write a computer program to print a report which employee name and total salary for those employees whose total salary is more than 10,000. Total Salary = BASIC + HRA. At the end, the program should also print the total number of employees whose total salary is more than 10,000.
I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....
What is the symbol indicated the c-preprocessor?