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


main()
{
int i=400,j=300;
printf("%d..%d");
}

Answers were Sorted based on User's Feedback



main() { int i=400,j=300; printf("%d..%d"); } ..

Answer / khaja

it prints bcoz no i,j values are mentioned.

Is This Answer Correct ?    0 Yes 2 No

main() { int i=400,j=300; printf("%d..%d"); } ..

Answer / muthu

It prints only garbage value, since the variables x and y
were not metioned out side the bracket

Is This Answer Correct ?    0 Yes 3 No

main() { int i=400,j=300; printf("%d..%d"); } ..

Answer / suresh reddy

Answer:

400 300

printf takes first two intilization values as default

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More C Interview Questions

15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?

2 Answers   CTS,


What is the purpose of sprintf() function?

0 Answers  


How was c created?

0 Answers  


What is a far pointer?What is the utility?

4 Answers  


What is printf () in c?

0 Answers  


Write a program in C to print the alphabets in order as on a mobile phone.i.e:When 2 is pressed once 'a' prints and if it is pressed two times 'b' prints and so on.we have to print all the alphabets as on mobile phone like this.

1 Answers   Wipro,


Explain function pointer with exapmles.

2 Answers  


What is the purpose of sprintf?

0 Answers  


How can I manipulate individual bits?

0 Answers  


who is first prime minister in india??

8 Answers   Wipro,


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

0 Answers  


How can I do serial ("comm") port I/O?

0 Answers   Celstream,


Categories