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...


main()
{
char *p;
p="Hello";
printf("%c\n",*&*p);
}

Answers were Sorted based on User's Feedback



main() { char *p; p="Hello"; printf("%c\n",*&*p); } ..

Answer / surenda pal singh chouhan

H

Explanation:
* is a dereference operator & is a reference operator.
They can be applied any number of times provided it is
meaningful. Here p points to the first character in the
string "Hello". *p dereferences it and so its value is H.

Is This Answer Correct ?    23 Yes 1 No

main() { char *p; p="Hello"; printf("%c\n",*&*p); } ..

Answer / vignesh1988i

the output will be 'H'...... this is because... first the
variables with pointers as:
*
&
*
p
so it woill process as givwn above in stack

Is This Answer Correct ?    10 Yes 2 No

Post New Answer

More C Interview Questions

What are runtime error?

0 Answers  


What is the difference between a free-standing and a hosted environment?

0 Answers   Aspire,


Why is sprintf unsafe?

0 Answers  


What are the loops in c?

0 Answers  


How we can set and clear bit in a byte using macro function?

2 Answers   L&T, Samsung,


How do you list files in a directory?

0 Answers  


Explain what is the general form of a c program?

0 Answers  


What is omp_num_threads?

0 Answers  


How many types of arrays are there in c?

0 Answers  


Explain what are the different file extensions involved when programming in c?

0 Answers  


Can you apply link and association interchangeably?

0 Answers   InterGraph,


what is the c.

3 Answers   IBM, TCS,


Categories