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
Why do we use return in c?
What is c variable?
What is difference between Structure and Unions?
What are the applications of c language?
When can a far pointer be used?
What is huge pointer in c?
What is pre-emptive data structure and explain it with example?
Are the variables argc and argv are always local to main?
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 “****”.
What does %c mean in c?
Explain what is a stream?
Why flag is used in c?
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
Explain what are binary trees?
How many types of arrays are there in c?