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 / traphunter
a=101n(*p)=101n
answer c)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does void main return?
Explain how do you declare an array that will hold more than 64kb of data?
What is s in c?
What does sizeof return c?
Write a program to generate random numbers in c?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
The file stdio.h, what does it contain?
What are the benefits of organizational structure?
Difference between exit() and _exit() function?
Is null valid for pointers to functions?
How do you construct an increment statement or decrement statement in C?
Can we increase size of array in c?
What is pre-emptive data structure and explain it with example?
Why do we use stdio h and conio h?