wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider the program segment below
int i,j,k;

for(i=1;i<=n2;++i)

for(j=1;j<=n3;++j)

for(k=1;k<=n4;++k)

printf("∗");

The number of times that '*' get printed is

A
n6
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
n24
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
n4
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
n9
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Join BYJU'S Learning Program
CrossIcon