Jobs in India
Search Jobs
Search Jobs
Advertisements

Technical - C & C++ Inderprastha Engg. College, Ghaziabad - 12 April 2007 by R

Details of Technical - C & C++ Inderprastha Engg. College, Ghaziabad - 12 April 2007 by R conducted by R for job interview.
Advertisements
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