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...

int a=20;
int b=30;
int c=40;
printf("%d%d%d");
what will be the output?

Answer Posted / sangam khera

depending upon the compiler ....

IN TURBO C++ -> it will give an error a,b,c assigned a valued that is never used."

IN GCC(DEV C++)->it will give garbage value....

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1917


what is different between auto and local static? why should we use local static?

1077


What is a lookup table in c?

1048


What are the functions to open and close file in c language?

1131


Explain what is the difference between null and nul?

1082


What is this pointer in c plus plus?

1026


What is class and object in c?

1047


how do you execute a c program in unix.

1075


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

2008


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

1085


What is a program?

1184


Write a code on reverse string and its complexity.

981


What is sizeof array?

1002


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1096


Can you return null in c?

1094