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 / sridevi.halli
answer is d)none of the above
bcoz in line p=&a it will gve error
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain what are the different file extensions involved when programming in c?
What is omp_num_threads?
What is bin sh c?
What is meant by errors and debugging?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
What is the use of getchar() function?
Does c have an equivalent to pascals with statement?
What is queue in c?
Tell me can the size of an array be declared at runtime?
How to find a missed value, if you want to store 100 values in a 99 sized array?
what does static variable mean?
how to make a scientific calculater ?
What is string in c language?
What is variable declaration and definition in c?
What is a void pointer in c?