Vidyalelo
C Programming · Q50

C Miscellaneous

Programming · C Programming · question 50

Q50

Suppose we have: int a=100; (signed by default).If we want to convert this to an unsigned long integer, we can do this by making the following small change:

A.
int a=lu100;
B.
int a= 100ul;
Answer
C.
int a=uu100;
D.
int a=100uu;

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board