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

differentiate built-in functions and user – defined functions.

1080


How can type-insensitive macros be created?

1168


How can I sort more data than will fit in memory?

1096


Difference between Shallow copy and Deep copy?

2017


What is equivalent to ++i+++j?

1088


How can I manipulate individual bits?

1036


What is %s and %d in c?

1035


What is a char in c?

989


Explain what is the heap?

1052


When is a void pointer used?

1235


What is the advantage of an array over individual variables?

1226


please explain every phase in the "SDLC" in the dotnet.

2610


Is c compiled or interpreted?

1188


Can a variable be both const and volatile?

1128


Explain how do you view the path?

1164