True or false: If you continuously increment a variable, it
will become negative?




1) True


2) False


3) It depends on the variable type

Answer Posted / a programmer

It depends upon the variable type. Ex: if the variable is
declared as unsigned int then if we increment the value will
not become negative.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I change their mode to binary?

682


Explain high-order bytes.

664


What are pointers?

621


What is the most efficient way to count the number of bits which are set in an integer?

576


What is memory leak in c?

622






How many types of operators are there in c?

608


Why do we need volatile in c?

733


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

576


Does c have enums?

590


What is the function of volatile in c language?

653


Why is %d used in c?

555


How can I find out the size of a file, prior to reading it in?

609


What is a header file?

627


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

711


How can I avoid the abort, retry, fail messages?

643