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 / hima bindu sudhani

The answer is A)100, 101

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is strcmp in c?

1070


What is uint8 in c?

1084


develop algorithms to add polynomials (i) in one variable

2132


If null and 0 are equivalent as null pointer constants, which should I use?

1160


What is scope of variable in c?

1014


Differentiate call by value and call by reference?

933


What is a pointer in c?

1486


Are the expressions * ptr ++ and ++ * ptr same?

1106


What's a good way to check for "close enough" floating-point equality?

1124


write a program to copy the string using switch case?

2870


When can a far pointer be used?

993


What are the characteristics of arrays in c?

1009


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2650


what are enumerations in C

1138


What is volatile variable in c?

1069