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

What is the use of static variable in c?

1139


Which header file is essential for using strcmp function?

1527


What is a program flowchart?

1276


How to explain the final year project as a fresher please answer with sample project

1021


what will be maximum number of comparisons when number of elements are given?

1950


What is modeling?

1092


What is difference between structure and union with example?

1119


Explain modulus operator.

1086


What are multidimensional arrays?

1168


what are the advantages of a macro over a function?

1191


Do variables need to be initialized?

1106


If the size of int data type is two bytes, what is the range of signed int data type?

1067


Why does everyone say not to use gets?

1191


When c language was developed?

1100


What is meant by int main ()?

1253