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 / sundar

the output is

a=100n(*p)=101n

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are disadvantages of C language.

652


Differentiate between the = symbol and == symbol?

721


writ a program to compare using strcmp VIVA and viva with its output.

1529


What is sizeof c?

612


How can I handle floating-point exceptions gracefully?

636






How does free() know explain how much memory to release?

621


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

735


why wipro wase

1833


Write a program to find the biggest number of three numbers in c?

590


Explain high-order and low-order bytes.

671


Why is c not oop?

541


Write a program of advanced Fibonacci series.

711


Explain what is output redirection?

670


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

1450


What extern c means?

547