what is the output of the program??

#include<stdio.h>

main ( )

{

int a=010,sum=0,tracker:

for(tracker=0;tracker<=a;tracker++)

sum+=tracker;

printf(ā€œ %d\nā€,sum);

}

what is the difference between a=10 and a=010??

Answer Posted / manish

yes...
this is the case of memory mapping....

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c is known as a mother language?

650


Explain how do you determine the length of a string value that was stored in a variable?

672


Can we initialize extern variable in c?

639


How can I manipulate strings of multibyte characters?

641


What is the process of writing the null pointer?

611






What is the need of structure in c?

570


Why & is used in c?

717


How variables are declared in c?

576


What is the sizeof () a pointer?

552


Why isnt any of this standardized in c?

641


What are types of preprocessor in c?

624


What is the role of this pointer?

555


What are qualifiers?

619


What is pivot in c?

570


What do you mean by a sequential access file?

631