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

what would be the output of the following program?
main()
{
int k = 123;
char *ptr;
ptr = &k;
printf("%d",*ptr);
}

Answer Posted / ankush

i also have a compilation error.....
""Cannot convert 'int_ss*' to 'char*' in function main()""
why its so....???
i want some answer.....
is my compiler wrong....

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you write a programmer for FACTORIAL using recursion?

1101


What is cohesion and coupling in c?

1097


Why c is called top down?

1220


What is pre-emptive data structure and explain it with example?

3790


What is double pointer in c?

1089


What is the function of volatile in c language?

1186


What is sorting in c plus plus?

1026


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1137


How many header files are in c?

1066


What is dynamic memory allocation?

1390


what will be the output for the following main() { printf("hi" "hello"); }

11168


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

2474


write a program for the normal snake games find in most of the mobiles.

2309


What are all different types of pointers in c?

1058


Which driver is a pure java driver

1690