Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

int arr[] = {1,2,3,4}
int *ptr=arr;

*(arr+3) = *++ptr + *ptr++;

Final contents of arr[]

Answer Posted / guest

{1,2,3,4}

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

1073


What are lookup tables in c?

978


When should a type cast be used?

992


Which is the memory area not included in C program? give the reason

1917


What are dangling pointers in c?

1167


How can I discover how many arguments a function was actually called with?

1044


What does c mean in basketball?

959


What is the explanation for modular programming?

1168


Are bit fields portable?

1130


Explain c preprocessor?

1069


What are pointers?

1075


Why c is faster than c++?

1001


How do we open a binary file in Read/Write mode in C?

1212


Differentiate between calloc and malloc.

1242


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1912