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 / jitendra kumar arya

(d),because n treat as a chracter.
ans is 100n ,101n

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what value is returned to operating system after program execution?

1608


Whats s or c mean?

597


Why is this loop always executing once?

619


What does %2f mean in c?

676


How can I send mail from within a c program?

583






how we can make 3d venturing graphics on outer interface

4016


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

750


program for reversing a selected line word by word when multiple lines are given without using strrev

1951


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2989


What is 1d array in c?

602


What is default value of global variable in c?

564


How does normalization of huge pointer works?

644


What is the difference between pure virtual function and virtual function?

654


What are the 5 types of organizational structures?

554


State the difference between realloc and free.

641