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 / hima bindu sudhani

The answer is A)100, 101

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you determine the maximum value that a numeric variable can hold?

1231


Why are all header files not declared in every c program?

1103


What is the use of typedef in c?

1030


What is wrong with this program statement? void = 10;

1253


What does 4d mean in c?

1495


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1131


Can you assign a different address to an array tag?

1167


What is exit() function?

1012


Explain what is a pragma?

1047


What is the difference between far and near ?

1191


Explain how can I prevent another program from modifying part of a file that I am modifying?

1089


Why is #define used?

1274


Are c and c++ the same?

1055


Define the scope of static variables.

1130


Explain how do you convert strings to numbers in c?

1078