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
explain what are actual arguments?
Which is better malloc or calloc?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
How can you tell whether two strings are the same?
Write a Program to accept different goods with the number, price and date of purchase and display them
Explain what are the __date__ and __time__ preprocessor commands?
What are conditional operators in C?
Why do we use static in c?
What are the advantages of Macro over function?
What is the translation phases used in c language?
How can you find out how much memory is available?
How pointer is different from array?
What are comments and how do you insert it in a C program?
What is #define?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none