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 / hima bindu sudhani

The answer is A)100, 101

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is meant by high-order and low-order bytes?

635


design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.

1497


What is the difference between text and binary i/o?

592


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

649


What is the ANSI C Standard?

780






Write a program on swapping (100, 50)

638


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1358


What is volatile variable in c with example?

588


write an algorithm to display a square matrix.

2223


What is context in c?

541


Why we use conio h in c?

586


What is linear search?

678


What is the difference between near, far and huge pointers?

628


What is a macro, and explain how do you use it?

629


What is wrong with this program statement?

610