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
Explain what is meant by high-order and low-order bytes?
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.
What is the difference between text and binary i/o?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What is the ANSI C Standard?
Write a program on swapping (100, 50)
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);
What is volatile variable in c with example?
write an algorithm to display a square matrix.
What is context in c?
Why we use conio h in c?
What is linear search?
What is the difference between near, far and huge pointers?
What is a macro, and explain how do you use it?
What is wrong with this program statement?