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 is a union?

998


What is the process of writing the null pointer?

1002


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1692


What is the difference between constant pointer and constant variable?

1187


Can we change the value of #define in c?

979


How do I use void main?

1071


What is advantage of pointer in c?

1147


What does printf does?

1209


What is console in c language?

1068


Explain the use of 'auto' keyword

1099


How do you determine the length of a string value that was stored in a variable?

1097


Why can’t we compare structures?

1246


Why c is a procedural language?

1027


What is a function in c?

1517


explain what are pointers?

979