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 standard functions are available to manipulate strings?
Explain the difference between ++u and u++?
What is the difference between array and structure in c?
What is difference between stdio h and conio h?
What is the scope of global variable in c?
What are the scope of static variables?
How can you convert integers to binary or hexadecimal?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
Can a function argument have default value?
List some basic data types in c?
What are runtime error?
How can you check to see whether a symbol is defined?
Difference between macros and inline functions? Can a function be forced as inline?
How can I do graphics in c?