Why doesn't the code "int a = 1000, b = 1000;
long int c = a * b;" work?
Answer Posted / guest
You must manually cast one of the operands to (long).
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
What functions are used for dynamic memory allocation in c language?
Explain output of printf("Hello World"-'A'+'B'); ?
What do you mean by Recursion Function?
Explain about the constants which help in debugging?
If errno contains a nonzero number, is there an error?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
What are preprocessor directives in c?
int i=10; printf("%d %d %d", i, i=20, i);
What is the difference between break and continue?
Why c is faster than c++?
What are c preprocessors?
Is fortran still used today?
Is there any data type in c with variable size?
Describe how arrays can be passed to a user defined function