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 / jitendra kumar arya

(d),because n treat as a chracter.
ans is 100n ,101n

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is break in c?

1054


What is the difference between Printf(..) and sprint(...) ?

1551


Can we change the value of static variable in c?

1037


Why c language is called c?

1026


Explain how do you search data in a data file using random access method?

1140


how to write optimum code to divide a 50 digit number with a 25 digit number??

3273


Is javascript written in c?

1074


What is a scope resolution operator in c?

1287


Is null a keyword in c?

1201


What is static function in c?

1126


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3698


Can we assign string to char pointer?

1125


which type of aspect you want from the student.

2169


Explain how can I manipulate strings of multibyte characters?

1211


What does d mean?

1105