Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by Mahvith
2
answers
1
GO Classes 2023 | Weekly Quiz 8 | Question: 3
#include <stdio.h> int main() { int i= 255; short int *s= (short int *)&i; printf("%d\n", *s); } What will be the output of the above program in little-endian and big-endian, respectively? $(65280\text{ is } 255\times2^8)$ $255,\; 0$ $65280,\; 0$ $0,\;0$ $0,\; 65280$
#include <stdio.h int main() { int i= 255; short int *s= (short int *)&i; printf("%d\n", *s); }What will be the output of the above program in little-endian and big-endia...
608
views
answered
Apr 22, 2022
Programming in C
goclasses_wq8
goclasses
programming
programming-in-c
output
2-marks
little-endian-big-endian
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register