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 / sathya.r

Ans: 100,100

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is array name a pointer?

1031


What is the use of in c?

1030


All technical questions

1990


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1232


What is the difference between far and near ?

1196


How can I call a function with an argument list built up at run time?

1248


How can you return multiple values from a function?

1118


How can I read a binary data file properly?

1176


What are multidimensional arrays?

1122


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

3153


What is I ++ in c programming?

1122


Between macros and functions,which is better to use and why?

2226


What is indirection?

1095


When the macros gets expanded?

1425


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1171