874 views

1 Answer

0 0 votes

For signed int 16 bit, I think the maximum value should be (215 - 1) whereas for unsigned it should be (216 - 1)

Position:
Show:

Related questions

1 1 vote
0 0 answers
2.2k
2.2k views
junaid ahmad asked Dec 20, 2017
2,218 views
#include<stdio.h int reverse(int); int main() { int num=4; reverse(num); return 0; } int reverse(num) { if(num==0) return 0; else printf("%d",num); reverse(num ); }What i...
2 2 votes
2 answers 2 answers
827
827 views
kvkumar asked Jun 6, 2016
827 views
#include<stdio.h int main(){ int a; if(a=printf("hello")) printf("gatecse%d",a); }
2 2 votes
1 1 answer
1.3k
1.3k views
Souvik33 asked Jan 11, 2023
1,269 views
The following C function rearranges the members of a single-linked list of integers that is passed as a parameter. The list of numbers 1, 2, 3, 4, 5, 6, and 7 in the spec...
1 1 vote
0 0 answers
1.7k
1.7k views