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
How can you find the day of the week given the date?
What is strcmp in c?
What is variable in c example?
What’s the special use of UNIONS?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
praagnovation
why return type of main is not necessary in linux
What are 'near' and 'far' pointers?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is array of pointers to string?
Explain what is the best way to comment out a section of code that contains comments?
What's the right way to use errno?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
What is use of bit field?