CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

What is the output of the following C program main
()
{
int i=32,j=0x20,k,l,m;
K=i/j;
l=i&j;
m=k^l;
print f("%d%d%d%d",i,j,k,l,m);

A
32 32 32 32 0
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
0 0 0 0 0
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
32 32 32 32 32
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
32 0 32 0 32
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A 32 32 32 32 0

The output of the following C program

main()
{
int i=32,j=0x20,k,l,m;
K=i/j;
l=i&j;
m=k^l;
print f("%d%d%d%d",i,j,k,l,m);

Output:-

32 32 32 32 0.



flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Analysing Financial Information
ACCOUNTANCY
Watch in App
Join BYJU'S Learning Program
CrossIcon