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 a method in c?

1063


What are the different types of control structures in programming?

1085


What is a sequential access file?

1094


What is a nested loop?

1072


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

961


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

1077


How can variables be characterized?

2129


Explain bit masking in c?

1083


Explain what are the advantages and disadvantages of a heap?

1032


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

2107


How can I insert or delete a line (or record) in the middle of a file?

977


Is swift based on c?

1053


How can I find out the size of a file, prior to reading it in?

1100


What are derived data types in c?

1009


Difference between strcpy() and memcpy() function?

1072