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

a=101n(*p)=101n

answer c)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does void main return?

1074


Explain how do you declare an array that will hold more than 64kb of data?

1402


What is s in c?

1002


What does sizeof return c?

1015


Write a program to generate random numbers in c?

1053


a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor

1035


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1034


The file stdio.h, what does it contain?

1119


What are the benefits of organizational structure?

974


Difference between exit() and _exit() function?

1080


Is null valid for pointers to functions?

1111


How do you construct an increment statement or decrement statement in C?

1181


Can we increase size of array in c?

923


What is pre-emptive data structure and explain it with example?

3661


Why do we use stdio h and conio h?

1037