Blogmepost
Latest Questions
Contact Us
How a negative integer is stored in C-Programming?
Home
>
Technology
>
How a negative integer is stored in C-Programming?
+1
vote
11
views
How a negative integer is stored in C-Programming?
#c-programming
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
Add Answer
1
Answer
0
votes
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
answered
Nov 9, 2020
by
JackTerrance
(
190k
points)
Related questions
0
votes
1
answer
21
views
21
views
How a negative integer is stored in C Programming?
asked
Jan 17
in
Technology
by
JackTerrance
(
190k
points)
c-programming
+1
vote
1
answer
25
views
25
views
Where an automatic variable is stored in C-Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
19
views
19
views
Which operator can be used to access union elements if union variable is a pointer variable in C Programming ?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
15
views
15
views
Is 068 a valid octal number in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
11
views
11
views
What is a variable in C programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
36
views
36
views
Which operator is used to receive the variable number of arguments for a function in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
11
views
11
views
What is a static function in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
22
views
22
views
What is a pointer to a function? Give the general syntax for the same in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
13
views
13
views
Is FILE a built-in data type in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
14
views
14
views
Does a break is required by default case in switch statement in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
10
views
10
views
What is a preprocessor in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
8
views
8
views
What is a token in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
13
views
13
views
What is a self-referential structure in C-Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
15
views
15
views
What is a nested structure in C-Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
9
views
9
views
What is a static variable in C-Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
16
views
16
views
What is a sequential access file in C-Programming?
asked
Nov 8, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
0
votes
1
answer
13
views
13
views
What is a pointer on a pointer in C programming language?
asked
Nov 8, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
11
views
11
views
How does bitwise operator XOR works in C programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
13
views
13
views
How many operators are there under the category of ternary operators in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
0
votes
1
answer
12
views
12
views
Define a structure in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
12
views
12
views
Can a pointer access the array in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
14
views
14
views
What it the return value of a relational operator if it returns any in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
2
answers
33
views
33
views
Which operator can be used to determine the size of a data type or variable in C Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
16
views
16
views
Does a built-in header file contains built-in function definition in C-Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
+1
vote
1
answer
12
views
12
views
Can a program be compiled without main() function in C-Programming?
asked
Nov 9, 2020
in
Technology
by
JackTerrance
(
190k
points)
#c-programming
...