If the storage size of unsigned int is 2 bytes, then the range of values of an unsigned integer is:
Correct Answer: 0 to 65,535
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C Programming Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C Programming MCQ Questions
Considering the definition of a Union MyUnion, if int occupies 4 bytes, what is the memory size occupied by a variable of type MyUnion? union MyUnion { int foo; float bar; char foobar[16]; };
Considering that integer is 4 bytes long, Output of the code? int main() { intfoobar=20, *foo, *bar; foo=&foobar; /* Assume address of foobar is 2100*/ bar=foo; *foo++=*bar++; foobar++; printf('foobar=%d, foo=%d, bar=%d\n', foobar, foo, bar); return 0; }
Which statement will you add in following program to work it correctly? #includeint main() { printf('%f\n',log(360.0)); return 0; }
Which is not a Standard Predefined Macro?
#include int main() { char *var = 'Programming in C is fun.'; } Which format identifier can never be used for the variable var?
Output of the following code snippet? int funr(int x, int y) { if(x <= 0) { return y; } else { return (1+funr(x-1,y)); } } void main() { printf('%d',funr(2,3)); }
Given the array: int num[3][4]= { {3,6,9,12}, {15,25,30,35}, {66,77,88,99} }; what would be the output of *(*(num+1)+1)+1?
Which function will you use to write a formatted output to the file?
Which is not a file related function?
Following code snippet? void main() { unsigned char a=25; a = ~a; signed char b = 25; b = ~b; printf('%d %d ', a, b); }