0% found this document useful (0 votes)
51 views2 pages

Ims Engineering College Formats Assignment - 04 Prepared By: MR Approved By: Director

Download & install Wireshark on a computer. Open a browser & start packet capture with Wireshark. Now, go to the website of CNN. Stop packet capture with Wireshark. Using Wireshark, find the HTTP packet that was initially sent by your browser to the New York Times web server to request the page. Select that request message & submit a screen dump of Wireshark displaying the request.

Uploaded by

Sherish Johri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views2 pages

Ims Engineering College Formats Assignment - 04 Prepared By: MR Approved By: Director

Download & install Wireshark on a computer. Open a browser & start packet capture with Wireshark. Now, go to the website of CNN. Stop packet capture with Wireshark. Using Wireshark, find the HTTP packet that was initially sent by your browser to the New York Times web server to request the page. Select that request message & submit a screen dump of Wireshark displaying the request.

Uploaded by

Sherish Johri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

IMS ENGINEERING COLLEGE IMSEC/QF/48

Page 1 of 1
FORMATS Issue No: 02
Assignment -- 04 Issue Date: 1 May 2010
Prepared by: MR Approved by: Director

Subject Name Introduction to Programming Subject Code KCS-101


Date of Handout Max Marks
Date of Submission

Find the outputs:-

(a) (e)
main() main()
{ {
int g = 300*300/300; int x,y,z;
printf(“g=%d”,g); x=y=z=1;
} z=++x||++y&&++z;
printf(“%d%d%d”,x,y,z);
}

(b) (f)
main() main()
{ {
int x=10,y=5,p,q; int x,y,z;
p=x>9; x=y=z=1;
q=x>3&&y!=3; z=++x&&++y||++z;
printf(“%d,%d”,p,q); printf(“%d%d%d”,x,y,z);
} }

(c) (g)
main() main()
{ {
int i=1; int x,y,z;
for(;i++;) x=y=z=1;
printf(“%d”,i); z=++x&&++y&&++z;
} printf(“%d%d%d”,x,y,z);
}

(d) (h)
main() main()
{ {
int i=1; int x,y,z;
for(;i++;) x=y=z=-1;
printf(“%d”,i); z=++x&&++y||++z;
} printf(“%d%d%d”,x,y,z);
}
(i) (j)
main() main()
{ {
int x,y,z; int x,y,z;
x=y=z=-1; x=y=z=-1;
z=++x||++y&&++z; z=++x&&++y&&++z;
printf(“%d%d%d”,x,y,z); printf(“%d%d%d”,x,y,z);
} }

You might also like