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

B)100,100

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of c language in real life?

1016


Is there any data type in c with variable size?

1093


What is a program flowchart and explain how does it help in writing a program?

1297


What is difference between main and void main?

1201


What are pointers? What are stacks and queues?

1141


Why does notstrcat(string, "!");Work?

1131


Why shouldn’t I start variable names with underscores?

1056


Can a pointer be static?

1066


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

1080


Why pointers are used in c?

1006


What does the error 'Null Pointer Assignment' mean and what causes this error?

1211


What is a good way to implement complex numbers in c?

1045


Explain high-order bytes.

1105


What does & mean in scanf?

1102


How do c compilers work?

1118