Awesome q2a theme
0 votes
In the question number mentioned above, I had a doubt that what will happen if *px = INT_MIN and *py = INT_MAX.

Because if we do *px = *px – *py, then ideally *px will become less than INT_MIN which will not be possible to store in int data type, and hence may give unexpected results, so according to me S4 should also be correct
ago in Programming by (5 points) | 14 views
Yeah my doubt is what will happen on the boundary cases on int_min and int_max, and this is not explained anywhere

S4 is correct 

mentioned in the answer, rt ?


btw your reason is absolutely correct.

PS: mention the link in question, it's better to navigate directly.

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
8,968 questions
3,119 answers
95,792 users