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

2. Write a function called hms_to_secs() that takes three int values&#8212;for hours, minutes, and seconds&#8212;as arguments, and returns the equivalent time in seconds.. Create a program that exercises this function by repeatedly obtaining a time value in hours, minutes, and seconds from the user (format 12:59:59), calling the function, and displaying the value of seconds it returns.

5 Answers   TCS,


What is pointer to pointer in c language?

0 Answers  


Write a program to print “hello world” without using semicolon?

0 Answers  


How can you find the exact size of a data type in c?

0 Answers  


Can anyone help me with this please? Need to print the below values.. Thanks 1 1 2 1 2 3 1 2 3 4

3 Answers  


Explain b+ tree?

0 Answers  


write a program that accepts 3 numbers from the user. dispaly the values in a descending order.

3 Answers  


what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }

1 Answers  


Find if a number is power of two or not?

1 Answers  


what is the difference between %d and %*d in c languaga?

7 Answers   TCS,


What are actual arguments?

0 Answers  


Do you know what is a programing language ?

0 Answers  


Categories