Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Search results for for+loop
0
votes
2
answers
1
#c lang
void main() { int i=6; for(--i; --i; i--) { printf(“%d”,i); } }
void main() { int i=6; for( i; i; i ) { printf(“%d”,i); } }
amit166
585
views
amit166
asked
Jan 3, 2019
Programming in C
programming-in-c
for-loop
+
–
1
votes
0
answers
2
me test series
i have 1 doubt regarding the initialization of highlighted portion.Will the value of ’k’ change at each iteration or it will remain same (whatever value assigned to it during for loop initialization) ?
i have 1 doubt regarding the initialization of highlighted portion.Will the value of ’k’ change at each iteration or it will remain same (whatever value assigned to i...
newdreamz a1-z0
359
views
newdreamz a1-z0
asked
Jan 18, 2019
Programming in C
programming-in-c
for
loop
+
–
4
votes
1
answer
3
GATEFORUM
for(i=0;i<=n;i++){ for(j=0;j<=i2;j++){ for(k=0;k<=$\frac{n}{2}$;k++){ x=y+z; }}} How many times the x=y+z statement will execute?
for(i=0;i<=n;i++){ for(j=0;j<=i2;j++){ for(k=0;k<=$\frac{n}{2}$;k++){ x=y+z;}}}How many times the x=y+z statement will execute?
Abhi Girin
1.1k
views
Abhi Girin
asked
Oct 16, 2017
Programming in C
programming-in-c
time-complexity
for
loop
asymptotic-notation
normal
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register