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

ouput will be c)a=101 (*p)=101

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to delete a node from linked list w/o using collectons?

2784


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

1352


How is actual parameter different from the formal parameter?

1026


what type of questions arrive in interview over c programming?

2033


Is main a keyword in c?

1138


Explain main function in c?

1086


How many types of functions are there in c?

1148


What are the application of void data type in c?

1191


How can type-insensitive macros be created?

1171


What is the difference between struct and union in C?

1318


What is the size of enum in bytes?

1091


Can we replace the struct function in tree syntax with a union?

1312


What is register variable in c language?

1031


What language is c written?

1055


What is array in c with example?

1275