retagged by
236 views
0 votes
0 votes
My doubt is very basic, I want to understand what is the use of signed and unsigned used with integer.?

2.what does size of signed int (-128 to 127) signify?

3how to big endian and little endian output problem in C.?

Please suggest

Thanks
retagged by

Please log in or register to answer this question.

Related questions

511
views
3 answers
1 votes
shiva0 asked Apr 3, 2019
511 views
What is the output of the program? int main() { union a { int i; char ch[2]; }; union a u; u.ch[0] = 3; u.ch[1] = 2; printf("%d, %d, %d", u.ch[0], u.ch[1], u.i); return 0; }
3.8k
views
2 answers
2 votes
Khushal Kumar asked Jul 4, 2017
3,833 views
Predict the output of following C programs1.#includeint main(){ char a = '\012'; printf("%d", a); return 0;}2.#includeint main(){ char a = '012'; printf( ... main(){ char a = '\012'; printf("%c", a); return 0;}
1.3k
views
1 answers
1 votes
isriram asked Jun 9, 2022
1,274 views
Consider a system which supports only 1-address type instructions. The size of memory the system has is $2^m$ KB. The system supports ' i ' distinct instructions. The length of an instruction is ____ Bytes
231
views
0 answers
0 votes
Rajib Datta Roy asked Dec 26, 2023
231 views
#include <iostream>using namespace std;int main(){ float a,b,c; cout<<"Enter a="; cin>>a; b=a + (1-1); cout<<"a + (1-1)="<<b ... us a value .but after a= 1E-8 c gives us 0 can you explain how float data type is working here