in Technology by
How a negative integer is stored in C-Programming?

1 Answer

0 votes
by
Get the two’s compliment of the same positive integer. Eg: 1011 (-5) Step-1 − One’s compliment of 5 : 1010 Step-2 − Add 1 to above, giving 1011, which is -5

Related questions

0 votes
    How a negative integer is stored in C Programming?...
asked Jan 17, 2021 in Technology by JackTerrance
0 votes
    1. In the C programming language to scan the integer type data which of the following is used? %d %f %I %c Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    1. In the C programming language to scan the integer type data which of the following is used? Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
+1 vote
    Where an automatic variable is stored in C-Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    Write a function in python to sort n numbers of integer stored in a list passed as parameter in function selesort(L[],n) Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    60. “What do you think”?Recognise the type of sentence. (A) optative (B) negative (C) positive (D) interrogative Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
0 votes
    60. “What do you think”?Recognise the type of sentence. (A) optative (B) negative (C) positive (D) interrogative Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    “Open the window”.Recognise the type of sentence. (A) optative (B) imperative (C) negative (D) positive Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    60. “What do you think”?Recognise the type of sentence. (A) optative (B) negative (C) positive (D) interrogative Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    “Open the window”.Recognise the type of sentence. (A) optative (B) imperative (C) negative (D) positive Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    Write a C program to accept an integer number between 1 and 9. Write the value of the number in words. Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
+1 vote
    How does bitwise operator XOR works in C programming?...
asked Nov 9, 2020 in Technology by JackTerrance
+1 vote
    How many operators are there under the category of ternary operators in C Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    (i) x=5, y=6,2=20 Q8) Consider the following statements and describe the output/statement required: ... multiple assignment statements. Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
...