3 like 0 dislike
221 views

#include <stdio.h>

int main()

{

int i, j = 5;

for(i = 0; i+j == 5; j++)

{

printf("One\n");

i = 4;

j = 1;

}

printf("Val1 = %d Val2 = %d\n", i, j);

return 0;

}

 

References: C From Theory

[Normal] Essay (Open question) - asked in Introduction to Computer Programming I (C) by (20.9k points)
ID: 21858 - Available when: Unlimited - Due to: Unlimited
| 221 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.178.81
©2016-2024

Related questions

3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 12, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21933 - Available when: Unlimited - Due to: Unlimited
| 247 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 12, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21932 - Available when: Unlimited - Due to: Unlimited
| 242 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 12, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21928 - Available when: Unlimited - Due to: Unlimited
| 237 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 12, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21924 - Available when: Unlimited - Due to: Unlimited
| 219 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 12, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21922 - Available when: Unlimited - Due to: Unlimited
| 241 views
12,783 questions
183,443 answers
172,219 comments
4,824 users