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 are the application of c?
Can math operations be performed on a void pointer?
What is unsigned int in c?
What does 4d mean in c?
I have seen function declarations that look like this
Explain main function in c?
Explain what is the concatenation operator?
Differentiate between a for loop and a while loop? What are it uses?
What will be the outcome of the following conditional statement if the value of variable s is 10?
c program to compute AREA under integral
Explain what is meant by 'bit masking'?
Can a variable be both const and volatile?
What is #line in c?
Was 2000 a leap year?
Is using exit() the same as using return?