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);
}

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

FILE PROGRAMMING

2242


How is pointer initialized in c?

1024


Write a program to print all permutations of a given string.

1194


What is structure pointer in c?

1052


the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset

1104


What is a structure and why it is used?

1225


What are the parts of c program?

1101


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1154


How can you read a directory in a C program?

1142


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1950


What is the ANSI C Standard?

1269


can we implement multi-threads in c.

1129


Which header file is essential for using strcmp function?

1482


What is the correct code to have following output in c using nested for loop?

1080


Why do we need volatile in c?

1166