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

D)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

652


List the different types of c tokens?

619


Explain how can type-insensitive macros be created?

565


What are c identifiers?

621


What are the different file extensions involved when programming in C?

749






c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

725


What is break statement?

624


What does double pointer mean in c?

571


Why is c still so popular?

611


What are the types of data files?

723


What are terms in math?

582


Why is c not oop?

533


Why isnt any of this standardized in c?

629


Which function in C can be used to append a string to another string?

639


Function calling procedures? and their differences? Why should one go for Call by Reference?

629