Test Paper2

  • Uploaded by: pahal
  • 0
  • 0
  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Test Paper2 as PDF for free.

More details

  • Words: 132
  • Pages: 3
Test Paper :2

Paper Type : Technical - C & C++ Test Date : 12 April 2007 Test Location : Inderprastha Engg. College, Ghaziabad Posted By : Sourabh Verma R SYSTEMS PAPER ON 12th APRIL AT GHAZIABAD Technical questions on C/C++ R-System Noida. if base address of array a is 65584 #include #include void main() { int a[5]={2,1,4,7,8}; clrscr(); printf(“%u\t%u”, a+1,&a+1); getch(); } Print value of i ? #include #include void main() { int i=1*4/3-27%3^2+100*0.5(4>3?1:2); clrscr();

printf(“%d”, i); getch(); } write output of program. #include #include void main() { int a[5]={2,1}; clrscr(); printf(“%\d\t%d\t%d”, a[3],a[4],a[2]); getch(); } 4. #include #include void main() { int a=2,b=3,c,d; clrscr(); c=a++||++b; d=++a&&b++; printf(“%d\t%d”, c,d); getch(); } 5. #include #include void main()

{ int a=2,b=3; clrscr(); for(i=1;i<3;i++) { printf(“%d”,a); continue; printf(“%d”,b); break; } getch(); } BEST OF LUCK

Related Documents

Test Paper2
October 2019 32
Wipro Test Paper2
October 2019 18
Paper2
June 2020 24
Paper2
August 2019 35
Paper2-fu
October 2019 26
Yr6 Paper2
November 2019 27

More Documents from "Faisal Risor Legacy"

Syntel4
November 2019 13
Infosys Test Paper 6
October 2019 25
Wipro Profile
October 2019 22
Accenture Test Paper 4
October 2019 35
Infosys Test Paper 4
October 2019 27
Accenture Test Paper 5
October 2019 23