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
What is the difference between memcpy and memmove?
Is it better to use a macro or a function?
What is the most efficient way to count the number of bits which are set in an integer?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
Is there a way to switch on strings?
What does nil mean in c?
Differentiate call by value and call by reference?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
When c language was developed?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
Where is c used?
Why c is a mother language?
Write a Program to accept different goods with the number, price and date of purchase and display them
What is c variable?
Explain argument and its types.