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 / hima bindu sudhani
The answer is A)100, 101
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is integer constants?
Explain how can I read and write comma-delimited text?
What does %p mean?
Explain high-order bytes.
Hai what is the different types of versions and their differences
What is methods in c?
how to find anagram without using string functions using only loops in c programming
Tell me about low level programming languages.
What are the different types of pointers used in c language?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
What does it mean when the linker says that _end is undefined?
What is pointer to pointer in c with example?
What is scanf () in c?
How to declare pointer variables?