Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged datatype
511
views
3
answers
1
votes
#userdefined Data type union in C
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; }
shiva0
511
views
shiva0
asked
Apr 3, 2019
Programming in C
programming-in-c
datatype
+
–
237
views
0
answers
0
votes
Data type size
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 suggestThanks
Mayankprakash
237
views
Mayankprakash
asked
Jul 15, 2018
Programming in C
datatype
+
–
3.9k
views
2
answers
2
votes
char output in c. Predict the output of following C programs
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;}
Khushal Kumar
3.9k
views
Khushal Kumar
asked
Jul 4, 2017
Programming in C
programming
programming-in-c
output
datatype
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register