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

ouput will be c)a=101 (*p)=101

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default value of local and global variables in c?

1000


What is the symbol indicated the c-preprocessor?

1195


Define circular linked list.

995


What was noalias and what ever happened to it?

1002


List out few of the applications that make use of Multilinked Structures?

2149


Explain what header files do I need in order to define the standard library functions I use?

1135


What is difference between structure and union?

1098


what are bit fields? What is the use of bit fields in a structure declaration?

2077


How can my program discover the complete pathname to the executable from which it was invoked?

1046


What does the message "automatic aggregate intialization is an ansi feature" mean?

1159


Can a function argument have default value?

1113


Why malloc is faster than calloc?

1030


What is property type c?

1059


What is a spanning Tree?

1533


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1727