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

the output is

a=100n(*p)=101n

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the method to save data in stack data structure type?

1049


Tell me what are bitwise shift operators?

1105


please explain every phase in the "SDLC" in the dotnet.

2570


Explain what are reserved words?

1061


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

1971


How can I pad a string to a known length?

988


Write program to remove duplicate in an array?

1049


Explain how to reverse singly link list.

1092


What is the difference between far and near in c?

1012


Explain what is the difference between a free-standing and a hosted environment?

1139


can any one provide me the notes of data structure for ignou cs-62 paper

2138


What is sizeof int in c?

1024


What is structure of c program?

1106


What is main function in c?

1034


Write a program to print “hello world” without using semicolon?

1090