2,705 views
0 votes
0 votes
#include <stdio.h>

int main()

{

    int i = 3;

    while (i--)

     {

        int i = 100;

        i--;

        printf("%d ", i);

     }

    return 0;

}

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
2
Nayyir asked Sep 30, 2018
296 views
Hii guys.Someone please have a look at this and tell me if I got it right.for(i=1;i<=n;i++)for(j=1;j<=i^2;j++)for(k=1;k<=j;k++)printf("welcome");what is the time complexi...
1 votes
1 votes
2 answers
3
sh!va asked Dec 4, 2016
958 views
for (int i = 1; i <=m; i += c){ -do something -}for (int i = 1; i <=n; i += c){ -do something - }What will the the tiem complexity of given code pseudococde?A. O (m...
2 votes
2 votes
3 answers
4
Meenakshi Sharma asked Sep 4, 2016
1,892 views
For(I=1 ; I<=n ; I++) { For(J=1 ; J<=I ; J++) { For(K=1 ; K<=n^5 ; K=15 × K) { x=y+z; } } }What is the time complexity of above code ?