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 / sathya.r

Ans: 100,100

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I read and write comma-delimited text?

1014


How can I discover how many arguments a function was actually called with?

1022


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

1004


Can we change the value of static variable in c?

974


What will the preprocessor do for a program?

1021


Why do we write return 0 in c?

1008


What is the difference between declaring a variable by constant keyword and #define ing that variable?

3290


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

1072


What is wrong with this statement? Myname = 'robin';

1267


Not all reserved words are written in lowercase. TRUE or FALSE?

1184


Are pointers integers in c?

1031


Does c have function or method?

945


Why do we use static in c?

1071


what is the format specifier for printing a pointer value?

974


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

2013