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 / biranchi ranjan parida
none of the above
pointer value of address increases it cant store its
original value
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are # preprocessor operator in c?
When should a far pointer be used?
What does the && operator do in a program code?
What does the message "automatic aggregate intialization is an ansi feature" mean?
In C programming, how do you insert quote characters (‘ and “) into the output screen?
Is c is a middle level language?
how to introdu5ce my self in serco
What is the general form of function in c?
Explain spaghetti programming?
If errno contains a nonzero number, is there an error?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is define directive?
What are near, far and huge pointers?
How can I manipulate strings of multibyte characters?
Can static variables be declared in a header file?