Value labs Placement paper (Jan2010)

Answer Posted / sree

What is the output of the program?
{
int const *p;
p=5;
printf("%d", ++(*p));
}
ans :garbage value .reason .p is a pointerand
increamenations is not possible

Is This Answer Correct ?    12 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how did you celebrate your last birthday?

1281


What are the frequently asked questions for interview in capital iq company ?

1331


my question is : reverse a string in COBOL program (please write a code asap) input file: 1234abcdef output file: 8765_____ abc*$#1___ 1_2_3_4__ cdef____ghi h_k_z_a__ a_z_k_h___ ihg____ghi 4_3_2_1___ 1#$*cba__ ______5678 fedcb4321

1303


what you will do when you struck in traffic ?

1057


Sks Microfinance

989






What were the occupations of the people who lived within the Mauryan Empire?

588


printf("%d",printf("%d",printf("%d",printf("%s","ILOVECPROGRAM")))); whats the output

1403


speak 1min on topic Travelling,memorable moment ,memorable day?

1744


what is placement paper?

2157


why didn't get placed so far?

1198


what is the use of air in gc

1444


email me previous question papers of bob bank for po exams

2066


what is difference between uv and visible spectroscopy and how to differentiate the drug compounds in uv visible region

1603


Zero setting of sejong rottary press

1201


Danlaw placement questions and answers

1359