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

study the code:
#include<stdio.h>
void main()
{
const int a=100;
int *p;
p=&a;
(*p)++;
printf("a=%dn(*p)=%dn",a,*p);
}
What is printed?
A)100,101 B)100,100 C)101,101 D)None of the
above

Answer Posted / y hussain reddy

101 ,101

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between break and continue?

1511


Explain what are its uses in c programming?

1056


What is a wrapper function in c?

1115


What should malloc(0) do?

1113


what is the function of pragma directive in c?

1116


Why doesnt this code work?

1057


how to count no of words,characters,lines in a paragraph.

4423


Can math operations be performed on a void pointer?

1043


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

1063


What type of function is main ()?

1039


Explain what are reserved words?

1101


explain what is a newline escape sequence?

1087


What are the functions to open and close file in c language?

1202


pierrot's divisor program using c or c++ code

2238


Why is c so powerful?

1111