Join Our Email Alerts-Subscribe
Important Note:Login & Check Your Email Inbox and Activate Confirmation Link



Enter Your Email :

Copyright Disclaimer:
Section 107 of the Copyright Act Fair Use Contents .
We are forwarding content link(s) from our website to content website & We are not serving any contents.
Main Source:Google.com.All the Content PDF link(s) is/are obtained from GoogleSearch
for the purpose of Education & Teaching Intention. Not for commercial purpose.
Technicalsymposium.com is not liable/responsible for any copyright issues.

Placement Materials & Answers-Free Download


Software Companies Placement Papers- DeShaw-Free Download

1. While((*p++=*q++)!=0){}

is equal to

a) b) c) d)

2. The function strcmp(str1,str2) returns

3. int *x[](); means

4. #define PRINT(int) printf("int=%d",int);

main()

{

int x,y,z;

x=03;y=-1;z=01;

PRINT(x^x);

z<<=3;PRINT(x);

y>>=3;PRINT(y);

}

5. struct list{

int x;

struct list *next;

}*head;

the struct head.x =100

above is correct / wrong

6. '-'=45 '/'=47

printfr(%d/n,'-','-','-','-','/','/','/');

o/p =?

12.o/p=?

int i;

i=1;

i=i+2*i++;

printf(%d,i);

8.{ ch='A';

while(ch<='F'){

switch(ch){

case'A':case'B':case'C':case'D':ch++;continue;

case'E':case'F':ch++;

}

putchar(ch);

}

}

a) ABCDEF b). EFG c). FG d). error

9. FILE *fp1,*fp2;

fp1=fopen("one","w")

fp2=fopen("one","w")

fputc('A',fp1)

fputc('B',fp2)

fclose(fp1)

fclose(fp2)}

a.error b. c. d.

10. int a=1; b=2; c=3; *pointer;

pointer=&c;

a=c/*pointer;

b=c;

printf("a=%d b=%d",a,b);

a). a=1 b=3

b). a=3 b=3

c). 3 2

d). error

11. #include

char *f()

{

char *s=malloc(8);

strcpy(s,"goodbye")

}

main()

{

char *f()_;

printf("%c",*f()='A');

}v o/p=?

13. int sum(n)

int n;

if(n<1)return n;

else return(n+sum(n-1))

a) 10 b) 16 c) 14 d) 15

14. When a function is recursively called all ,

automatic variables are a. stored in stack b . c. d

15) #define MAN(x,y) (x)>(y)?(x):(y)

{ int i=10;j=5;k=0;

k= MAN(i++,++j)

printf(%d %d %d %d,i,j,k)

}

16) a=10;b=5; c=3;d=3;

if(a<b)&&(c=d++)

printf(%d %d %d %d a,b,c,d)

else printf("%d %d %d %d a,b,c,d);

19. What is o/p

#include

show(int t,va_list ptr1)

{

int a,x,i;

a=va_arg(ptr1,int)

printf("

%d",a)

}

display(char)

{int x;

listptr;

va_star(otr,s);

n=va_arg(ptr,int);

show(x,ptr);

}

main()

{

display("hello",4,12,13,14,44);

}

a) 13 b) 12 c) 44 d) 14

20. If the following program (my prog)

main(int size of ,char *arg[])

{ while(size of arg) printf("%s",arg[--size of arg)

}

is run from the command line as myprog jan feb mar apr

What would be the o/p

a)myprog jan,feb,mar,apr

b)rev

c)jan,feb,mar,apr

d)error

21.What is o/p

main()

{int i=3;

while(i--)

{

int i=100

i--;

printf("%d..",i);

}

}

a) infinite loop

b) error

c) 99..99..99..99

d) 3..22..1..

21) What is the o/p of the program

main()

{

int rows=3,colums=4;

int a[rows][colums]={1,2,3,4,5,6,7,8,9,10,11,12};

i=j=k=99;

for(i=0;i<rows;i++)

for(j=0;j<colums;j++)

if(a[k][j]<k) k="a[i][j];<br">
printf("%d

",k); </k)></colums;j++)
</rows;i++)
</b)&&(c=d++)

Source: Contents are provided by Technicalsymposium Google Group Members.
Disclaimer: All the above contents are provided by technicalsymposium.com Google Group members.
Further, this content is not intended to be used for commercial purpose. Technicalsymposium.com is not liable/responsible for any copyright issues.

Placement Papers & Answers PDF-Download



Aptitude & Placement Papers & Answers PDF



Technicalsymposium.com-All Study Materials PDF-Free Download







Technicalsymposium.com-Free Live Support-Chat with Our Experts

Official Contact: +91-9245556793 (Whatsapp Message / SMS / Voice Call)


Our Expert team is ready to answer all your questions immediately-Feel free to speak in Tamil/English.

(Example:Events info/Lecture Notes/Off-Campus & All Jobs/Projects & All education information)

Working hrs (IST): (Morning: 10:00AM-3:00 PM) and (Evening:5:00 PM to 10:00 PM)

All Latest Question & Answer Page (FAQ)-Click here