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 / sathya.r
Ans: 100,100
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
What is structure in c explain with example?
What is a program flowchart?
What is the auto keyword good for?
What is the size of a union variable?
What functions are used for dynamic memory allocation in c language?
What is the code for 3 questions and answer check in VisualBasic.Net?
Can an array be an Ivalue?
What is the deal on sprintf_s return value?
What are pointers really good for, anyway?
What’s a signal? Explain what do I use signals for?
What are linker error?
Explain what standard functions are available to manipulate strings?
Write a program with dynamically allocation of variable.
What are enums in c?
What are identifiers and keywords in c?