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

B)100,100

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I copy files?

1059


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

1022


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

1283


Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

1694


What is the use of putchar function?

1057


Can we compile a program without main() function?

1125


Explain b+ tree?

1070


Which one would you prefer - a macro or a function?

1087


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

1279


Why is a semicolon (;) put at the end of every program statement?

1076


Explain the Difference between the New and Malloc keyword.

1139


In c programming language, how many parameters can be passed to a function ?

1114


What is a macro in c preprocessor?

1103


What is a keyword?

1169


Is it better to use malloc() or calloc()?

1116