How can I ensure that integer arithmetic doesnt overflow?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?

3 Answers  


What is signed and unsigned?

0 Answers  


What is malloc calloc and realloc in c?

0 Answers  


What is new line escape sequence?

0 Answers  


Find the output? void main() {float a=2.0; printf("\nSize of a ::%d",sizeof(a)); printf("\nSize of 2.0 ::%d",sizeof(2.0));}

11 Answers   IBM, TCS,






WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

0 Answers  


how to make a scientific calculater ?

0 Answers  


What are different storage class specifiers in c?

0 Answers  


Do variables need to be initialized?

0 Answers  


Tell me what is null pointer in c?

0 Answers  


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

0 Answers  


What are qualifiers and modifiers c?

0 Answers  


Categories