4. main()
{
int c=- -2;
printf("c=%d",c);
}
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....
who did come first hen or agg
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What are the advantages of using macro in c language?
What are derived data types in c?
Describe how arrays can be passed to a user defined function
What do you mean by c?
What is sizeof c?
What are the 4 data types?
what is volatile in c language?
9 Answers Cap Gemini, HCL, Honeywell, TCS, Tech Mahindra,
what is the use of pointers
What is difference between structure and union?