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 is static and volatile in c?
Compare and contrast compilers from interpreters.
When should a type cast not be used?
What is malloc return c?
Explain what are run-time errors?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
What are the storage classes in C?
What is the deal on sprintf_s return value?
Explain what is gets() function?
to find the closest pair
What should malloc(0) do?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
What is union and structure in c?
Write a program of advanced Fibonacci series.
how do you programme Carrier Sense Multiple Access