Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add files via upload
  • Loading branch information
SegawaA authored Apr 12, 2018
commit 4ebb29632d92155d6affc3dd547ce450b370cd81
16 changes: 16 additions & 0 deletions Question_Three[1].txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Question Three
a) Long int array[50];
b) Long int array[49]= 123.456;
c) X = 99
d) ctr = 8
e) #include <stdio.h>
#include <stdlib.h>
main()
{int x=1;
while(x<=100){
printf("%d\n",x);
x+=3;

}}
f) The code under the loop is always executed once outside the for loop, because of the semicolon terminating the for loop.