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 / guest

D)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the application of c?

1044


Can math operations be performed on a void pointer?

970


What is unsigned int in c?

933


What does 4d mean in c?

1448


I have seen function declarations that look like this

994


Explain main function in c?

1045


Explain what is the concatenation operator?

1108


Differentiate between a for loop and a while loop? What are it uses?

1132


What will be the outcome of the following conditional statement if the value of variable s is 10?

1232


c program to compute AREA under integral

2336


Explain what is meant by 'bit masking'?

1120


Can a variable be both const and volatile?

1071


What is #line in c?

961


Was 2000 a leap year?

1004


Is using exit() the same as using return?

1250