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

i want to know the procedure of qualcomm for getting a job through offcampus

2410


What is action and transformation in spark?

1085


How to declare pointer variables?

1170


What is a const pointer?

1043


What is meant by high-order and low-order bytes?

1005


How can you call a function, given its name as a string?

1103


What is the use of header?

1054


swap 2 numbers without using third variable?

1086


What is exit() function?

968


Describe dynamic data structure in c programming language?

1043


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

2281


What are valid operations on pointers?

1154


What is the main difference between calloc () and malloc ()?

1099


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1039


Explain enumerated types.

980