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 / y hussain reddy

101 ,101

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you find the day of the week given the date?

617


What is strcmp in c?

598


What is variable in c example?

594


What’s the special use of UNIONS?

659


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

1783






Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

657


praagnovation

1780


why return type of main is not necessary in linux

1706


What are 'near' and 'far' pointers?

620


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1888


What is array of pointers to string?

570


Explain what is the best way to comment out a section of code that contains comments?

722


What's the right way to use errno?

624


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

1673


What is use of bit field?

774