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 / guest
D)
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is a union?
What is the process of writing the null pointer?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What is the difference between constant pointer and constant variable?
Can we change the value of #define in c?
How do I use void main?
What is advantage of pointer in c?
What does printf does?
What is console in c language?
Explain the use of 'auto' keyword
How do you determine the length of a string value that was stored in a variable?
Why can’t we compare structures?
Why c is a procedural language?
What is a function in c?
explain what are pointers?