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 / jitendra kumar arya

(d),because n treat as a chracter.
ans is 100n ,101n

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are header files in c programming?

1103


Is c still used?

1026


Here is a neat trick for checking whether two strings are equal

996


What are header files in c?

1048


What do you mean by dynamic memory allocation in c?

1075


Explain what is the difference between far and near ?

1079


what are bit fields in c?

1642


Explain how to reverse singly link list.

1107


What are called c variables?

1028


What is a constant?

1022


Is register a keyword in c?

1018


Explain how can a program be made to print the line number where an error occurs?

1171


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

1455


What is union and structure in c?

1190


What are the 32 keywords in c?

1070