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

How do you define a string?

1051


What is this pointer in c plus plus?

1028


explain what is an endless loop?

1036


Can a pointer be static?

1025


What is an array in c?

1004


What are the string functions? List some string functions available in c.

950


Is c call by value?

970


What is preprocessor with example?

1002


How can you convert integers to binary or hexadecimal?

983


What is pivot in c?

976


What is the use of function in c?

1145


What is dynamic dispatch in c++?

1000


What are the advantages of using new operator as compared to the function malloc ()?

1273


How to get string length of given string in c?

1014


What does the format %10.2 mean when included in a printf statement?

1593