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

B)100,100

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How was c created?

1091


write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

1995


Explain modulus operator.

1088


How do shell structures work?

1171


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

1103


What is omp_num_threads?

1132


How would you rename a function in C?

1084


Explain can static variables be declared in a header file?

1196


How do you override a defined macro?

1312


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

1146


Can the size of an array be declared at runtime?

1141


What is the function of this pointer?

1451


What is static identifier?

1279


What is the difference between single charater constant and string constant?

1134


Explain what is the heap?

1099