Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Recent questions tagged little-endian-big-endian
8
votes
2
answers
1
GO Classes Test Series 2024 | Mock GATE | Test 13 | Question: 48
#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$
GO Classes
asked
in
Programming in C
Jan 28
by
GO Classes
535
views
goclasses2024-mockgate-13
goclasses
programming
programming-in-c
little-endian-big-endian
output
2-marks
3
votes
2
answers
2
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$
GO Classes
asked
in
Programming in C
Apr 21, 2022
by
GO Classes
600
views
goclasses_wq8
goclasses
programming
programming-in-c
output
2-marks
little-endian-big-endian
29
votes
6
answers
3
GATE CSE 2021 Set 2 | Question: 44
If the numerical value of a $2$-byte unsigned integer on a little endian computer is $255$ more than that on a big endian computer, which of the following choices represent(s) the unsigned integer on a little endian computer? $0\text{x}6665$ $0\text{x} 0001$ $0\text{x} 4243$ $0\text{x} 0100$
Arjun
asked
in
Digital Logic
Feb 18, 2021
by
Arjun
14.3k
views
gatecse-2021-set2
multiple-selects
digital-logic
number-representation
little-endian-big-endian
2-marks
8
votes
4
answers
4
ISRO2020-5
An array of $2$ ...
Satbir
asked
in
CO and Architecture
Jan 13, 2020
by
Satbir
3.7k
views
isro-2020
co-and-architecture
floating-point-representation
normal
little-endian-big-endian
2
votes
0
answers
5
Doubt: Little Endian and Big Endian
I understand what is little endian and big endian. Suppose $\text{90AB12CD}_{16}$, this is the integer that is supposed to be stored in the memory. Then in big endian, we store like this. The most significant byte at the lower address. . ... strange for me, because most of the time we think, the first byte is from the rightmost side. Please, someone, confirm.
Hemant Parihar
asked
in
CO and Architecture
Oct 22, 2017
by
Hemant Parihar
2.9k
views
co-and-architecture
little-endian-big-endian
2
votes
3
answers
6
Programming and DS
Consider the following C code int main() { int a = 300; char *b = (char *)&a; *++b = 2; printf("%d ",a); return 0; } Consider the size of int as two bytes and size of char as one byte. Predict the output of the following code . Assume that the machine is little-endian.
Shubham Kumar Gupta
asked
in
Programming in C
Aug 27, 2017
by
Shubham Kumar Gupta
1.8k
views
little-endian-big-endian
7
votes
2
answers
7
ISRO2016-25
What will be output of the following program? Assume that you are running this program in little-endian processor. #include<stdio.h> int main() { short a=320; char *ptr; ptr=(char *)&a; printf("%d",*ptr); return 0; } 1 320 64 Compilation error
sourav.
asked
in
Programming in C
Jul 3, 2016
by
sourav.
7.4k
views
programming-in-c
pointers
isro2016
little-endian-big-endian
11
votes
5
answers
8
ISRO2007-53
In the Big-Endian system, the computer stores MSB of data in the lowest memory address of data unit LSB of data in the lowest memory address of data unit MSB of data in the highest memory address of data unit LSB of data in the highest memory address of data unit
go_editor
asked
in
CO and Architecture
Jun 10, 2016
by
go_editor
4.7k
views
isro2007
co-and-architecture
floating-point-representation
little-endian-big-endian
To see more, click for the
full list of questions
or
popular tags
.
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent questions tagged little-endian-big-endian
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...