Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what will be the output of this program........
main()
{
int a=2,b=4,c=6;
printf("%d");
}
why it gives the value of third variable.

Answer Posted / srinivas

the above question will give the output 0.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between void main and main in c?

1122


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1283


Can you please explain the scope of static variables?

1013


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1062


What is the correct code to have following output in c using nested for loop?

1040


Why static is used in c?

1053


What is fflush() function?

1092


Explain the priority queues?

1051


What is difference between main and void main?

1142


What is c language and why we use it?

1025


What is pass by reference in functions?

806


What is array in c with example?

1190


What is sizeof int in c?

1024


write a program to print data of 5 five students with structures?

2014


Why is it important to memset a variable, immediately after allocating memory to it ?

2024