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


Please Help Members By Posting Answers For Below Questions

Why do we use return in c?

746


What is c variable?

798


What is difference between Structure and Unions?

876


What are the applications of c language?

835


When can a far pointer be used?

770


What is huge pointer in c?

762


What is pre-emptive data structure and explain it with example?

3476


Are the variables argc and argv are always local to main?

787


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

2932


What does %c mean in c?

846


Explain what is a stream?

802


Why flag is used in c?

851


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

828


Explain what are binary trees?

824


How many types of arrays are there in c?

779